GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
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
 
- Public Member Functions inherited from TGo4TaskStatus
 TGo4TaskStatus ()
 
virtual ~TGo4TaskStatus ()
 
Bool_t IsInitDone () const
 
Bool_t IsTerminating () const
 
Bool_t IsAutoStart () const
 
Bool_t IsAutoCreate () const
 
Bool_t IsAppBlocking () const
 
TGo4TaskHandlerStatusGetTaskHandlerStatus () const
 
void Print (Option_t *opt="") const override
 
- Public Member Functions inherited from TGo4Status
 TGo4Status ()
 
 TGo4Status (const char *name)
 
 TGo4Status (const char *name, const char *title)
 
virtual ~TGo4Status ()
 
virtual Int_t PrintStatus (Text_t *buffer=nullptr, Int_t buflen=0)
 
void Print (Option_t *opt="") const override
 

Private Member Functions

void SetNames (const char *main, const char *watch)
 
void SetHistoStatus (TH1 *histogram)
 
 TGo4ExampleClientStatus (const char *name)
 

Private Attributes

TString fxMainName
 
TString fxWatchName
 
TString fxHistogramName
 

Friends

class TGo4ExampleClient
 
class TGo4ExampleDisplay
 

Additional Inherited Members

- Public Types inherited from TGo4Status
enum  { kGo4NoReset = BIT(20), kGo4CanDelete = BIT(21), kGo4BackStoreReset = BIT(22) }
 
- Static Public Member Functions inherited from TGo4Status
static Text_t * PrintIndent (Text_t *buffer, Int_t &buflen)
 
static Text_t * PrintBuffer (char *buffer, Int_t &buflen, const char *text,...)
 
static void PrintLine (const char *text,...)
 
- Protected Member Functions inherited from TGo4ClientStatus
 TGo4ClientStatus (const char *name)
 
void SetNames (const char *serverhost)
 
- Protected Member Functions inherited from TGo4TaskStatus
void SetFlags (Bool_t blocking, Bool_t autocreate, Bool_t autostart, Bool_t terminating, Bool_t initdone)
 
void SetTaskHandlerStatus (TGo4TaskHandlerStatus *thstate)
 
 TGo4TaskStatus (const char *name)
 
- Protected Attributes inherited from TGo4ClientStatus
TString fxServerHostName
 
- Protected Attributes inherited from TGo4TaskStatus
Bool_t fbAppBlocking {kFALSE}
 
Bool_t fbAutoCreate {kFALSE}
 
Bool_t fbAutoStart {kFALSE}
 
Bool_t fbTerminating {kFALSE}
 
TGo4TaskHandlerStatusfxTaskHandlerStatus {nullptr}
 
Bool_t fbInitDone {kFALSE}
 

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.

References Print(), and ~TGo4ExampleClientStatus().

◆ ~TGo4ExampleClientStatus()

TGo4ExampleClientStatus::~TGo4ExampleClientStatus ( )
virtual

Definition at line 25 of file TGo4ExampleClientStatus.cxx.

References GO4TRACE.

Referenced by TGo4ExampleClientStatus().

◆ TGo4ExampleClientStatus() [2/2]

TGo4ExampleClientStatus::TGo4ExampleClientStatus ( const char *  name)
private

Definition at line 20 of file TGo4ExampleClientStatus.cxx.

References 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 Function Documentation

◆ TGo4ExampleClient

friend class TGo4ExampleClient
friend

Definition at line 24 of file TGo4ExampleClientStatus.h.

◆ TGo4ExampleDisplay

friend class TGo4ExampleDisplay
friend

Definition at line 25 of file TGo4ExampleClientStatus.h.

Member Data 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: