GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4TaskStatus.h
Go to the documentation of this file.
1 // $Id: TGo4TaskStatus.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 TGO4TASKSTATUS_H
15 #define TGO4TASKSTATUS_H
16 
17 #include "TGo4Status.h"
18 
20 
21 class TGo4TaskStatus : public TGo4Status {
22  friend class TGo4Task;
23  friend class TGo4Slave;
24 
25  public:
26 
28 
29  virtual ~TGo4TaskStatus();
30 
31  Bool_t IsInitDone() const { return fbInitDone; }
32 
33  Bool_t IsTerminating() const { return fbTerminating; }
34 
35  Bool_t IsAutoStart() const { return fbAutoStart; }
36 
37  Bool_t IsAutoCreate() const { return fbAutoCreate; }
38 
39  Bool_t IsAppBlocking() const { return fbAppBlocking; }
40 
42 
44  virtual Int_t PrintStatus(Text_t* buffer=0, Int_t buflen=0);
45 
46  protected:
47 
48  void SetFlags(Bool_t blocking, Bool_t autocreate, Bool_t autostart, Bool_t terminating, Bool_t initdone);
49 
51 
52  Bool_t fbAppBlocking;
53  Bool_t fbAutoCreate;
54  Bool_t fbAutoStart;
55  Bool_t fbTerminating;
56 
60  Bool_t fbInitDone;
61 
62  TGo4TaskStatus(const char* name);
63 
64  ClassDef(TGo4TaskStatus,1)
65 };
66 
67 #endif //TGO4TASKSTATUS_H
virtual Int_t PrintStatus(Text_t *buffer=0, Int_t buflen=0)
Bool_t fbAppBlocking
Bool_t IsAutoStart() const
Bool_t IsInitDone() const
TGo4TaskHandlerStatus * GetTaskHandlerStatus() const
void SetTaskHandlerStatus(TGo4TaskHandlerStatus *thstate)
Bool_t IsTerminating() const
TGo4TaskHandlerStatus * fxTaskHandlerStatus
virtual ~TGo4TaskStatus()
void SetFlags(Bool_t blocking, Bool_t autocreate, Bool_t autostart, Bool_t terminating, Bool_t initdone)
Bool_t IsAppBlocking() const
Bool_t fbTerminating
Bool_t IsAutoCreate() const