00001 // $Id: TGo4EventSourceParameter.h 478 2009-10-29 12:26:09Z linev $ 00002 //----------------------------------------------------------------------- 00003 // The GSI Online Offline Object Oriented (Go4) Project 00004 // Experiment Data Processing at EE department, GSI 00005 //----------------------------------------------------------------------- 00006 // Copyright (C) 2000- GSI Helmholtzzentrum für Schwerionenforschung GmbH 00007 // Planckstr. 1, 64291 Darmstadt, Germany 00008 // Contact: http://go4.gsi.de 00009 //----------------------------------------------------------------------- 00010 // This software can be used under the license agreements as stated 00011 // in Go4License.txt file which is part of the distribution. 00012 //----------------------------------------------------------------------- 00013 00014 #ifndef TGO4EVENTSOURCEPARAMETER_H 00015 #define TGO4EVENTSOURCEPARAMETER_H 00016 00017 #include "TGo4Parameter.h" 00018 00026 class TGo4EventSourceParameter : public TGo4Parameter { 00027 public: 00028 TGo4EventSourceParameter(); 00029 00030 TGo4EventSourceParameter(const char* name, Int_t id = 0); 00031 00032 virtual ~TGo4EventSourceParameter() ; 00033 00034 Int_t GetID() const { return fiID; } 00035 00036 Int_t GetTimeout() const { return fiTimeout; } 00037 00038 void SetTimeout(Int_t out) { fiTimeout=out; } 00039 00042 virtual Int_t PrintParameter(Text_t* buffer=0, Int_t buflen=0); 00043 00045 virtual Bool_t UpdateFrom(TGo4Parameter* rhs); 00046 00047 private: 00048 00050 Int_t fiID; 00051 00053 Int_t fiTimeout; 00054 00055 ClassDef(TGo4EventSourceParameter,1) 00056 }; 00057 00058 #endif //TGO4EVENTSOURCEPARAMETER_H