00001 //--------------------------------------------------------------- 00002 // Go4 Release Package v2.10-5 (build 21005) 00003 // 03-Nov-2005 00004 //--------------------------------------------------------------- 00005 // The GSI Online Offline Object Oriented (Go4) Project 00006 // Experiment Data Processing at DVEE department, GSI 00007 //--------------------------------------------------------------- 00008 // 00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI 00010 // Planckstr. 1, 64291 Darmstadt, Germany 00011 //Contact: http://go4.gsi.de 00012 //---------------------------------------------------------------- 00013 //This software can be used under the license agreements as stated 00014 //in Go4License.txt file which is part of the distribution. 00015 //---------------------------------------------------------------- 00016 #ifndef TGO4PARAMETER_H 00017 #define TGO4PARAMETER_H 00018 00019 #include "TNamed.h" 00020 // following includes are for user convenience JA: 00021 #include "Go4Log/TGo4Log.h" 00022 #include <iostream> 00023 using namespace std; 00024 // end user parameter compatibility includes 00025 00026 00033 class TGo4Parameter : public TNamed { 00034 public: 00035 00036 TGo4Parameter(const char* name); 00037 00038 TGo4Parameter(const char* name, const char* title); 00039 00040 TGo4Parameter(); 00041 00042 virtual ~TGo4Parameter(); 00043 00049 virtual Int_t PrintParameter(Text_t* buffer=0, Int_t buflen=0); 00050 00051 virtual void Print(Option_t* dummy="") const; 00052 00057 virtual Bool_t UpdateFrom(TGo4Parameter* rhs); 00058 00059 /* We overwrite the default TNamed::Clear that would 00060 * erase our name and title! 00061 * Implement this method in your parameter class 00062 * if you would like to reset any values with the 00063 * eraser button in the gui remote browser*/ 00064 virtual void Clear(Option_t* opt=""); 00065 00066 ClassDef(TGo4Parameter,1) 00067 }; 00068 00069 #endif //TGO4PARAMETER_H 00070 00071 //----------------------------END OF GO4 SOURCE FILE ---------------------