GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4EventSourceParameter.h
Go to the documentation of this file.
1 // $Id: TGo4EventSourceParameter.h 478 2009-10-29 12:26:09Z linev $
2 //-----------------------------------------------------------------------
3 // The GSI Online Offline Object Oriented (Go4) Project
4 // Experiment Data Processing at EE department, GSI
5 //-----------------------------------------------------------------------
6 // Copyright (C) 2000- GSI Helmholtzzentrum für Schwerionenforschung GmbH
7 // Planckstr. 1, 64291 Darmstadt, Germany
8 // Contact: http://go4.gsi.de
9 //-----------------------------------------------------------------------
10 // This software can be used under the license agreements as stated
11 // in Go4License.txt file which is part of the distribution.
12 //-----------------------------------------------------------------------
13 
14 #ifndef TGO4EVENTSOURCEPARAMETER_H
15 #define TGO4EVENTSOURCEPARAMETER_H
16 
17 #include "TGo4Parameter.h"
18 
27  public:
29 
30  TGo4EventSourceParameter(const char* name, Int_t id = 0);
31 
32  virtual ~TGo4EventSourceParameter() ;
33 
34  Int_t GetID() const { return fiID; }
35 
36  Int_t GetTimeout() const { return fiTimeout; }
37 
38  void SetTimeout(Int_t out) { fiTimeout=out; }
39 
42  virtual Int_t PrintParameter(Text_t* buffer=0, Int_t buflen=0);
43 
45  virtual Bool_t UpdateFrom(TGo4Parameter* rhs);
46 
47  private:
48 
50  Int_t fiID;
51 
53  Int_t fiTimeout;
54 
55  ClassDef(TGo4EventSourceParameter,1)
56 };
57 
58 #endif //TGO4EVENTSOURCEPARAMETER_H
virtual Bool_t UpdateFrom(TGo4Parameter *rhs)
virtual Int_t PrintParameter(Text_t *buffer=0, Int_t buflen=0)