GSI Object Oriented Online Offline (Go4)  GO4-6.1.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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 ()
 
virtual Int_t PrintStatus (Text_t *buffer=0, Int_t buflen=0)
 
- Public Member Functions inherited from TGo4ClientStatus
 TGo4ClientStatus ()
 
virtual ~TGo4ClientStatus ()
 
- 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
 
- Public Member Functions inherited from TGo4Status
 TGo4Status ()
 
 TGo4Status (const char *name)
 
 TGo4Status (const char *name, const char *title)
 
virtual ~TGo4Status ()
 
virtual void Print (Option_t *dummy="") const
 

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,...)
 
- 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
 
Bool_t fbAutoCreate
 
Bool_t fbAutoStart
 
Bool_t fbTerminating
 
TGo4TaskHandlerStatusfxTaskHandlerStatus
 
Bool_t fbInitDone
 

Detailed Description

Definition at line 22 of file TGo4ExampleClientStatus.h.

Constructor & Destructor Documentation

TGo4ExampleClientStatus::TGo4ExampleClientStatus ( )
inline

Definition at line 29 of file TGo4ExampleClientStatus.h.

TGo4ExampleClientStatus::~TGo4ExampleClientStatus ( )
virtual

Definition at line 74 of file TGo4ExampleClientStatus.cxx.

References GO4TRACE.

TGo4ExampleClientStatus::TGo4ExampleClientStatus ( const char *  name)
private

Definition at line 22 of file TGo4ExampleClientStatus.cxx.

References GO4TRACE.

Member Function Documentation

Int_t TGo4ExampleClientStatus::PrintStatus ( Text_t *  buffer = 0,
Int_t  buflen = 0 
)
virtual

basic method to printout status information on stdout; to be overridden by specific subclass

Reimplemented from TGo4ClientStatus.

Definition at line 42 of file TGo4ExampleClientStatus.cxx.

References fxHistogramName, fxMainName, fxWatchName, GO4TRACE, TGo4Status::PrintBuffer(), and TGo4ClientStatus::PrintStatus().

void TGo4ExampleClientStatus::SetHistoStatus ( TH1 *  histogram)
private

Set histogram status

Definition at line 27 of file TGo4ExampleClientStatus.cxx.

References fxHistogramName, and GO4TRACE.

Referenced by TGo4ExampleClient::UpdateStatus().

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

Set names of the work runnables of example

Definition at line 35 of file TGo4ExampleClientStatus.cxx.

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

Referenced by TGo4ExampleClient::UpdateStatus().

Friends And Related Function Documentation

friend class TGo4ExampleClient
friend

Definition at line 24 of file TGo4ExampleClientStatus.h.

friend class TGo4ExampleDisplay
friend

Definition at line 25 of file TGo4ExampleClientStatus.h.

Member Data Documentation

TString TGo4ExampleClientStatus::fxHistogramName
private

Remember name of histogram

Definition at line 49 of file TGo4ExampleClientStatus.h.

Referenced by PrintStatus(), and SetHistoStatus().

TString TGo4ExampleClientStatus::fxMainName
private

Remember name of main thread

Definition at line 43 of file TGo4ExampleClientStatus.h.

Referenced by PrintStatus(), and SetNames().

TString TGo4ExampleClientStatus::fxWatchName
private

Remember name of watch thread

Definition at line 46 of file TGo4ExampleClientStatus.h.

Referenced by PrintStatus(), and SetNames().


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