GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
TGo4AnalysisClientStatus Class Reference

#include <TGo4AnalysisClientStatus.h>

+ Inheritance diagram for TGo4AnalysisClientStatus:

Public Member Functions

 TGo4AnalysisClientStatus ()
 
 TGo4AnalysisClientStatus (const char *name)
 
virtual ~TGo4AnalysisClientStatus ()
 
Double_t GetRate () const
 
Double_t GetAvRate () const
 
Double_t GetTime () const
 
ULong64_t GetCurrentCount () const
 
const char * GetDateTime () const
 
const char * GetCurrentSource () const
 
Bool_t IsAnalysisRunning ()
 
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 SetRates (Double_t rate, Double_t average, ULong64_t counts, Double_t time)
 
void SetCurrentSource (const char *name)
 
void SetRunning (Bool_t on)
 

Private Attributes

ULong64_t fuCurrentCount
 
Double_t fdRate
 
Double_t fdAveRate
 
Double_t fdTime
 
TString fxDateString
 
TString fxEventSource
 
Bool_t fbAnalysisRunning
 

Friends

class TGo4AnalysisClient
 

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 21 of file TGo4AnalysisClientStatus.h.

Constructor & Destructor Documentation

TGo4AnalysisClientStatus::TGo4AnalysisClientStatus ( )

Definition at line 21 of file TGo4AnalysisClientStatus.cxx.

TGo4AnalysisClientStatus::TGo4AnalysisClientStatus ( const char *  name)

Definition at line 31 of file TGo4AnalysisClientStatus.cxx.

References GO4TRACE.

TGo4AnalysisClientStatus::~TGo4AnalysisClientStatus ( )
virtual

Definition at line 42 of file TGo4AnalysisClientStatus.cxx.

Member Function Documentation

Double_t TGo4AnalysisClientStatus::GetAvRate ( ) const
inline

Definition at line 35 of file TGo4AnalysisClientStatus.h.

References fdAveRate.

Referenced by TGo4AnalysisStatusMonitor::linkedObjectUpdated(), and PrintStatus().

ULong64_t TGo4AnalysisClientStatus::GetCurrentCount ( ) const
inline
const char* TGo4AnalysisClientStatus::GetCurrentSource ( ) const
inline
const char* TGo4AnalysisClientStatus::GetDateTime ( ) const
inline
Double_t TGo4AnalysisClientStatus::GetRate ( ) const
inline
Double_t TGo4AnalysisClientStatus::GetTime ( ) const
inline
Bool_t TGo4AnalysisClientStatus::IsAnalysisRunning ( )
inline
Int_t TGo4AnalysisClientStatus::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 46 of file TGo4AnalysisClientStatus.cxx.

References GetAvRate(), GetCurrentCount(), GetCurrentSource(), GetDateTime(), GetRate(), GetTime(), GO4TRACE, IsAnalysisRunning(), TGo4Status::PrintBuffer(), and TGo4ClientStatus::PrintStatus().

void TGo4AnalysisClientStatus::SetCurrentSource ( const char *  name)
inlineprivate

Definition at line 54 of file TGo4AnalysisClientStatus.h.

References fxEventSource.

Referenced by TGo4AnalysisClient::UpdateStatus().

void TGo4AnalysisClientStatus::SetRates ( Double_t  rate,
Double_t  average,
ULong64_t  counts,
Double_t  time 
)
private
void TGo4AnalysisClientStatus::SetRunning ( Bool_t  on)
inlineprivate

Definition at line 56 of file TGo4AnalysisClientStatus.h.

References fbAnalysisRunning.

Referenced by TGo4AnalysisClient::UpdateStatus().

Friends And Related Function Documentation

friend class TGo4AnalysisClient
friend

Definition at line 23 of file TGo4AnalysisClientStatus.h.

Member Data Documentation

Bool_t TGo4AnalysisClientStatus::fbAnalysisRunning
private

True running state of analysis, independent of event rate

Definition at line 77 of file TGo4AnalysisClientStatus.h.

Referenced by IsAnalysisRunning(), and SetRunning().

Double_t TGo4AnalysisClientStatus::fdAveRate
private

Average eventrate since last reset (events/sec).

Definition at line 65 of file TGo4AnalysisClientStatus.h.

Referenced by GetAvRate(), and SetRates().

Double_t TGo4AnalysisClientStatus::fdRate
private

Current eventrate (events/sec).

Definition at line 62 of file TGo4AnalysisClientStatus.h.

Referenced by GetRate(), and SetRates().

Double_t TGo4AnalysisClientStatus::fdTime
private

Time sum since last reset. in s.

Definition at line 68 of file TGo4AnalysisClientStatus.h.

Referenced by GetTime(), and SetRates().

ULong64_t TGo4AnalysisClientStatus::fuCurrentCount
private

Number of events processed since last start.

Definition at line 59 of file TGo4AnalysisClientStatus.h.

Referenced by GetCurrentCount(), and SetRates().

TString TGo4AnalysisClientStatus::fxDateString
private

Time and date of the last update of this status as sql string.

Definition at line 71 of file TGo4AnalysisClientStatus.h.

Referenced by GetDateTime(), and SetRates().

TString TGo4AnalysisClientStatus::fxEventSource
private

Name of eventsource of first step / current filelist name

Definition at line 74 of file TGo4AnalysisClientStatus.h.

Referenced by GetCurrentSource(), and SetCurrentSource().


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