GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4ComGetCurrentEvent.h
Go to the documentation of this file.
1 // $Id: TGo4ComGetCurrentEvent.h 1033 2013-11-05 15:30:01Z 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 TGO4COMGETCURRENTEVENT_H
15 #define TGO4COMGETCURRENTEVENT_H
16 
18 
32  public:
33 
35 
36  TGo4ComGetCurrentEvent(const char* obname);
37 
38  virtual ~TGo4ComGetCurrentEvent();
39 
40  virtual Int_t ExeCom();
41 
45  virtual void Set(TGo4RemoteCommand* remcon);
46 
47 
48  Bool_t IsOutputEvent() const { return fbOutputEvent; }
49 
50  void SetOutputEvent(Bool_t output=kTRUE) { fbOutputEvent=output; }
51 
52  Bool_t IsPrintoutOnly() const { return fbPrintoutOnly; }
53 
54  void SetPrintoutOnly(Bool_t on=kTRUE) { fbPrintoutOnly=on; }
55 
56  Bool_t IsTreeMode() const { return fbTreeMode; }
57 
58  void SetTreeMode(Bool_t on=kTRUE) { fbTreeMode=on; }
59 
60  private:
61  /* we use integer for bool expressions due to root streamer problems */
62 
64  Bool_t fbOutputEvent;
65 
68 
71  Bool_t fbTreeMode;
72 
73  ClassDef(TGo4ComGetCurrentEvent,1)
74 };
75 
76 
77 #endif //TGO4COMGETCURRENTEVENT_H
78 
79 
80 
virtual void Set(TGo4RemoteCommand *remcon)
void SetOutputEvent(Bool_t output=kTRUE)
void SetTreeMode(Bool_t on=kTRUE)
void SetPrintoutOnly(Bool_t on=kTRUE)