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 TGO4EVENTSOURCEPARAMETER_H 00017 #define TGO4EVENTSOURCEPARAMETER_H 00018 00019 #include "Go4StatusBase/TGo4Parameter.h" 00020 00028 class TGo4EventSourceParameter : public TGo4Parameter { 00029 public: 00030 TGo4EventSourceParameter() ; 00031 00032 TGo4EventSourceParameter(const char* name, Int_t id = 0); 00033 00034 virtual ~TGo4EventSourceParameter() ; 00035 00036 Int_t GetID() const { return fiID; } 00037 00038 Int_t GetTimeout() const { return fiTimeout; } 00039 00040 void SetTimeout(Int_t out) { fiTimeout=out; } 00041 00044 virtual Int_t PrintParameter(Text_t* buffer=0, Int_t buflen=0); 00045 00047 virtual Bool_t UpdateFrom(TGo4Parameter* rhs); 00048 00049 private: 00050 00052 Int_t fiID; 00053 00055 Int_t fiTimeout; 00056 00057 ClassDef(TGo4EventSourceParameter,1) 00058 }; 00059 00060 #endif //TGO4EVENTSOURCEPARAMETER_H 00061 00062 //----------------------------END OF GO4 SOURCE FILE ---------------------