GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TGo4TaskStatus Class Reference

Task status. More...

#include <TGo4TaskStatus.h>

+ Inheritance diagram for TGo4TaskStatus:

Public Member Functions

 TGo4TaskStatus ()
 
virtual ~TGo4TaskStatus ()
 
TGo4TaskHandlerStatusGetTaskHandlerStatus () const
 
Bool_t IsAppBlocking () const
 
Bool_t IsAutoCreate () const
 
Bool_t IsAutoStart () const
 
Bool_t IsInitDone () const
 
Bool_t IsTerminating () const
 
void Print (Option_t *opt="") const override
 method to printout status information on stdout;
 
- Public Member Functions inherited from TGo4Status
 TGo4Status ()
 
 TGo4Status (const char *name)
 
 TGo4Status (const char *name, const char *title)
 
virtual ~TGo4Status ()
 
void Print (Option_t *opt="") const override
 
virtual Int_t PrintStatus (Text_t *buffer=nullptr, Int_t buflen=0)
 DEPRECATED - please use Print(Option_t *) signature basic method to printout status information on stdout; to be overridden by specific subclass.
 

Protected Member Functions

 TGo4TaskStatus (const char *name)
 
void SetFlags (Bool_t blocking, Bool_t autocreate, Bool_t autostart, Bool_t terminating, Bool_t initdone)
 
void SetTaskHandlerStatus (TGo4TaskHandlerStatus *thstate)
 

Protected Attributes

Bool_t fbAppBlocking {kFALSE}
 
Bool_t fbAutoCreate {kFALSE}
 
Bool_t fbAutoStart {kFALSE}
 
Bool_t fbInitDone {kFALSE}
 
Bool_t fbTerminating {kFALSE}
 
TGo4TaskHandlerStatusfxTaskHandlerStatus {nullptr}
 aggregationByValue 1
 

Friends

class TGo4Slave
 
class TGo4Task
 

Additional Inherited Members

- Public Types inherited from TGo4Status
enum  { kGo4NoReset = BIT(20) , kGo4CanDelete = BIT(21) , kGo4BackStoreReset = BIT(22) }
 Go4 status bits to be used in object manager to suppress resetting or deleting histograms, etc. More...
 
- Static Public Member Functions inherited from TGo4Status
static Text_t * PrintBuffer (char *buffer, Int_t &buflen, const char *text,...)
 Print text with variable expression into buffer.
 
static Text_t * PrintIndent (Text_t *buffer, Int_t &buflen)
 Insert indentation blanks into text buffer.
 
static void PrintLine (const char *text,...)
 Print single line of debug output with appropriate indent.
 

Detailed Description

Task status.

Definition at line 24 of file TGo4TaskStatus.h.

Constructor & Destructor Documentation

◆ TGo4TaskStatus() [1/2]

TGo4TaskStatus::TGo4TaskStatus ( )

◆ ~TGo4TaskStatus()

TGo4TaskStatus::~TGo4TaskStatus ( )
virtual

Definition at line 28 of file TGo4TaskStatus.cxx.

References fxTaskHandlerStatus.

◆ TGo4TaskStatus() [2/2]

TGo4TaskStatus::TGo4TaskStatus ( const char * name)
protected

Definition at line 23 of file TGo4TaskStatus.cxx.

References TGo4Status::TGo4Status().

Member Function Documentation

◆ GetTaskHandlerStatus()

TGo4TaskHandlerStatus * TGo4TaskStatus::GetTaskHandlerStatus ( ) const
inline

Definition at line 44 of file TGo4TaskStatus.h.

References fxTaskHandlerStatus.

◆ IsAppBlocking()

Bool_t TGo4TaskStatus::IsAppBlocking ( ) const
inline

Definition at line 42 of file TGo4TaskStatus.h.

References fbAppBlocking.

◆ IsAutoCreate()

Bool_t TGo4TaskStatus::IsAutoCreate ( ) const
inline

Definition at line 40 of file TGo4TaskStatus.h.

References fbAutoCreate.

◆ IsAutoStart()

Bool_t TGo4TaskStatus::IsAutoStart ( ) const
inline

Definition at line 38 of file TGo4TaskStatus.h.

References fbAutoStart.

◆ IsInitDone()

Bool_t TGo4TaskStatus::IsInitDone ( ) const
inline

Definition at line 34 of file TGo4TaskStatus.h.

References fbInitDone.

◆ IsTerminating()

Bool_t TGo4TaskStatus::IsTerminating ( ) const
inline

Definition at line 36 of file TGo4TaskStatus.h.

References fbTerminating.

◆ Print()

void TGo4TaskStatus::Print ( Option_t * opt = "") const
override

method to printout status information on stdout;

Definition at line 52 of file TGo4TaskStatus.cxx.

References fbAppBlocking, fbAutoCreate, fbAutoStart, fbInitDone, fbTerminating, fxTaskHandlerStatus, and TGo4Status::PrintLine().

Referenced by TGo4ClientStatus::Print().

◆ SetFlags()

void TGo4TaskStatus::SetFlags ( Bool_t blocking,
Bool_t autocreate,
Bool_t autostart,
Bool_t terminating,
Bool_t initdone )
protected

Definition at line 34 of file TGo4TaskStatus.cxx.

References fbAppBlocking, fbAutoCreate, fbAutoStart, fbInitDone, and fbTerminating.

Referenced by TGo4Task::UpdateStatus().

◆ SetTaskHandlerStatus()

void TGo4TaskStatus::SetTaskHandlerStatus ( TGo4TaskHandlerStatus * thstate)
protected

Definition at line 47 of file TGo4TaskStatus.cxx.

References fxTaskHandlerStatus.

Referenced by TGo4Task::UpdateStatus().

Friends And Related Symbol Documentation

◆ TGo4Slave

friend class TGo4Slave
friend

Definition at line 26 of file TGo4TaskStatus.h.

References TGo4Slave.

Referenced by TGo4Slave.

◆ TGo4Task

friend class TGo4Task
friend

Definition at line 25 of file TGo4TaskStatus.h.

References TGo4Task.

Referenced by TGo4Task.

Field Documentation

◆ fbAppBlocking

Bool_t TGo4TaskStatus::fbAppBlocking {kFALSE}
protected

Definition at line 55 of file TGo4TaskStatus.h.

Referenced by IsAppBlocking(), Print(), and SetFlags().

◆ fbAutoCreate

Bool_t TGo4TaskStatus::fbAutoCreate {kFALSE}
protected

Definition at line 56 of file TGo4TaskStatus.h.

Referenced by IsAutoCreate(), Print(), and SetFlags().

◆ fbAutoStart

Bool_t TGo4TaskStatus::fbAutoStart {kFALSE}
protected

Definition at line 57 of file TGo4TaskStatus.h.

Referenced by IsAutoStart(), Print(), and SetFlags().

◆ fbInitDone

Bool_t TGo4TaskStatus::fbInitDone {kFALSE}
protected

Definition at line 63 of file TGo4TaskStatus.h.

Referenced by IsInitDone(), Print(), and SetFlags().

◆ fbTerminating

Bool_t TGo4TaskStatus::fbTerminating {kFALSE}
protected

Definition at line 58 of file TGo4TaskStatus.h.

Referenced by IsTerminating(), Print(), and SetFlags().

◆ fxTaskHandlerStatus

TGo4TaskHandlerStatus* TGo4TaskStatus::fxTaskHandlerStatus {nullptr}
protected

aggregationByValue 1

Definition at line 62 of file TGo4TaskStatus.h.

Referenced by ~TGo4TaskStatus(), GetTaskHandlerStatus(), Print(), and SetTaskHandlerStatus().


The documentation for this class was generated from the following files: