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

#include <TGo4ExampleClientStatus.h>

+ Inheritance diagram for TGo4ExampleClientStatus:

Public Member Functions

 TGo4ExampleClientStatus ()
 
virtual ~TGo4ExampleClientStatus ()
 
void Print (Option_t *opt="") const override
 
- Public Member Functions inherited from TGo4ClientStatus
 TGo4ClientStatus ()
 
virtual ~TGo4ClientStatus ()
 
void Print (Option_t *opt="") const override
 basic method to printout status information on stdout; to be overridden by specific subclass
 
- Public Member Functions inherited from TGo4TaskStatus
 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.
 

Private Member Functions

 TGo4ExampleClientStatus (const char *name)
 
void SetHistoStatus (TH1 *histogram)
 Set histogram status.
 
void SetNames (const char *main, const char *watch)
 Set names of the work runnables of example.
 

Private Attributes

TString fxHistogramName
 Remember name of histogram.
 
TString fxMainName
 Remember name of main thread.
 
TString fxWatchName
 Remember name of watch thread.
 

Friends

class TGo4ExampleClient
 
class TGo4ExampleDisplay
 

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.
 
- Protected Member Functions inherited from TGo4ClientStatus
 TGo4ClientStatus (const char *name)
 
void SetNames (const char *serverhost)
 
- Protected Member Functions inherited from TGo4TaskStatus
 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 inherited from TGo4ClientStatus
TString fxServerHostName
 hostname of server machine
 
- Protected Attributes inherited from TGo4TaskStatus
Bool_t fbAppBlocking {kFALSE}
 
Bool_t fbAutoCreate {kFALSE}
 
Bool_t fbAutoStart {kFALSE}
 
Bool_t fbInitDone {kFALSE}
 
Bool_t fbTerminating {kFALSE}
 
TGo4TaskHandlerStatusfxTaskHandlerStatus {nullptr}
 aggregationByValue 1
 

Detailed Description

Definition at line 22 of file TGo4ExampleClientStatus.h.

Constructor & Destructor Documentation

◆ TGo4ExampleClientStatus() [1/2]

TGo4ExampleClientStatus::TGo4ExampleClientStatus ( )
inline

Definition at line 29 of file TGo4ExampleClientStatus.h.

◆ ~TGo4ExampleClientStatus()

TGo4ExampleClientStatus::~TGo4ExampleClientStatus ( )
virtual

Definition at line 25 of file TGo4ExampleClientStatus.cxx.

References GO4TRACE.

◆ TGo4ExampleClientStatus() [2/2]

TGo4ExampleClientStatus::TGo4ExampleClientStatus ( const char * name)
private

Definition at line 20 of file TGo4ExampleClientStatus.cxx.

References TGo4ClientStatus::TGo4ClientStatus(), and GO4TRACE.

Member Function Documentation

◆ Print()

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

◆ SetHistoStatus()

void TGo4ExampleClientStatus::SetHistoStatus ( TH1 * histogram)
private

Set histogram status.

Definition at line 30 of file TGo4ExampleClientStatus.cxx.

References fxHistogramName, and GO4TRACE.

Referenced by TGo4ExampleClient::UpdateStatus().

◆ SetNames()

void TGo4ExampleClientStatus::SetNames ( const char * main,
const char * watch )
private

Set names of the work runnables of example.

Definition at line 38 of file TGo4ExampleClientStatus.cxx.

References fxMainName, fxWatchName, GO4TRACE, and main().

Referenced by TGo4ExampleClient::UpdateStatus().

Friends And Related Symbol Documentation

◆ TGo4ExampleClient

friend class TGo4ExampleClient
friend

Definition at line 24 of file TGo4ExampleClientStatus.h.

References TGo4ExampleClient.

Referenced by TGo4ExampleClient.

◆ TGo4ExampleDisplay

friend class TGo4ExampleDisplay
friend

Definition at line 25 of file TGo4ExampleClientStatus.h.

References TGo4ExampleDisplay.

Referenced by TGo4ExampleDisplay.

Field Documentation

◆ fxHistogramName

TString TGo4ExampleClientStatus::fxHistogramName
private

Remember name of histogram.

Definition at line 44 of file TGo4ExampleClientStatus.h.

Referenced by Print(), and SetHistoStatus().

◆ fxMainName

TString TGo4ExampleClientStatus::fxMainName
private

Remember name of main thread.

Definition at line 38 of file TGo4ExampleClientStatus.h.

Referenced by Print(), and SetNames().

◆ fxWatchName

TString TGo4ExampleClientStatus::fxWatchName
private

Remember name of watch thread.

Definition at line 41 of file TGo4ExampleClientStatus.h.

Referenced by Print(), and SetNames().


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