Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

/Go4TaskHandler/TGo4TaskStatus.h

Go to the documentation of this file.
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 /* Generated by Together */
00017 
00018 #ifndef TGO4TASKSTATUS_H
00019 #define TGO4TASKSTATUS_H
00020 #include "Go4StatusBase/TGo4Status.h"
00021 #include "Rtypes.h"
00022 #include "TGo4TaskHandlerStatus.h"
00023 
00024 class TGo4TaskStatus : public TGo4Status {
00025 public:
00026     friend class TGo4Task;
00027     friend class TGo4Slave;
00028     
00029     TGo4TaskStatus();
00030     
00031     virtual ~TGo4TaskStatus();
00032 
00033     
00034 
00035     Bool_t IsInitDone() const { return fbInitDone; }
00036 
00037     Bool_t IsTerminating() const { return fbTerminating; }
00038 
00039     Bool_t IsAutoStart() const { return fbAutoStart; }
00040 
00041     Bool_t IsAutoCreate() const { return fbAutoCreate; }
00042 
00043     Bool_t IsAppBlocking() const { return fbAppBlocking; }
00044 
00045 protected:
00046 
00047     void SetFlags(Bool_t blocking, Bool_t autocreate, Bool_t autostart, Bool_t terminating, Bool_t initdone);
00048 
00049     void SetTaskHandlerStatus(TGo4TaskHandlerStatus* thstate);
00050 public:
00051 
00052     TGo4TaskHandlerStatus* GetTaskHandlerStatus() const { return fxTaskHandlerStatus; }
00053 
00059     virtual Int_t PrintStatus(Text_t* buffer=0, Int_t buflen=0);
00060 
00061 protected:
00062 
00063     Bool_t fbAppBlocking;
00064     Bool_t fbAutoCreate;
00065     Bool_t fbAutoStart;
00066     Bool_t fbTerminating;
00067 
00070     TGo4TaskHandlerStatus * fxTaskHandlerStatus;
00071     Bool_t fbInitDone;
00072 
00073     TGo4TaskStatus(const char* name);
00074 
00075 ClassDef(TGo4TaskStatus,1)    
00076 };
00077 #endif //TGO4TASKSTATUS_H
00078 
00079 //----------------------------END OF GO4 SOURCE FILE ---------------------

Generated on Tue Nov 8 10:56:07 2005 for Go4-v2.10-5 by doxygen1.2.15