Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

TGo4TaskStatus.h

Go to the documentation of this file.
00001 //-------------------------------------------------------------
00002 //        Go4 Release Package v3.04-01 (build 30401)
00003 //                      28-November-2008
00004 //---------------------------------------------------------------
00005 //   The GSI Online Offline Object Oriented (Go4) Project
00006 //   Experiment Data Processing at EE 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 #ifndef TGO4TASKSTATUS_H
00017 #define TGO4TASKSTATUS_H
00018 
00019 #include "TGo4Status.h"
00020 
00021 class TGo4TaskHandlerStatus;
00022 
00023 class TGo4TaskStatus : public TGo4Status {
00024    friend class TGo4Task;
00025    friend class TGo4Slave;
00026 
00027    public:
00028 
00029       TGo4TaskStatus();
00030 
00031       virtual ~TGo4TaskStatus();
00032 
00033       Bool_t IsInitDone() const { return fbInitDone; }
00034 
00035       Bool_t IsTerminating() const { return fbTerminating; }
00036 
00037       Bool_t IsAutoStart() const { return fbAutoStart; }
00038 
00039       Bool_t IsAutoCreate() const { return fbAutoCreate; }
00040 
00041       Bool_t IsAppBlocking() const { return fbAppBlocking; }
00042 
00043       TGo4TaskHandlerStatus* GetTaskHandlerStatus() const { return fxTaskHandlerStatus; }
00044 
00046       virtual Int_t PrintStatus(Text_t* buffer=0, Int_t buflen=0);
00047 
00048    protected:
00049 
00050       void SetFlags(Bool_t blocking, Bool_t autocreate, Bool_t autostart, Bool_t terminating, Bool_t initdone);
00051 
00052       void SetTaskHandlerStatus(TGo4TaskHandlerStatus* thstate);
00053 
00054       Bool_t fbAppBlocking;
00055       Bool_t fbAutoCreate;
00056       Bool_t fbAutoStart;
00057       Bool_t fbTerminating;
00058 
00061       TGo4TaskHandlerStatus * fxTaskHandlerStatus;
00062       Bool_t fbInitDone;
00063 
00064       TGo4TaskStatus(const char* name);
00065 
00066    ClassDef(TGo4TaskStatus,1)
00067 };
00068 
00069 #endif //TGO4TASKSTATUS_H
00070 
00071 //----------------------------END OF GO4 SOURCE FILE ---------------------

Generated on Fri Nov 28 12:59:30 2008 for Go4-v3.04-1 by  doxygen 1.4.2