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

runnable performing control watcher functions of analysis client task: status of analysis is send to status queue More...

#include <TGo4AnalysisWatchRunnable.h>

+ Inheritance diagram for TGo4AnalysisWatchRunnable:

Public Member Functions

 TGo4AnalysisWatchRunnable (const char *name, TGo4AnalysisClient *cli)
 
virtual ~TGo4AnalysisWatchRunnable ()
 
Int_t Run (void *) override
 The working function which runs in the thread.
 
- Public Member Functions inherited from TGo4Runnable
 TGo4Runnable (const char *name, TGo4ThreadManager *man)
 
 TGo4Runnable (const TGo4Runnable &right)
 
virtual ~TGo4Runnable ()
 
TGo4ThreadGetThread () const
 
TGo4ThreadManagerGetThreadManager () const
 
void SetThread (TGo4Thread *gthread)
 

Static Public Attributes

static const UInt_t fguWATCHINTERVAL =1000
 frequency in ms for the watcher runnable to check the application
 

Private Member Functions

 TGo4AnalysisWatchRunnable ()
 

Private Attributes

TGo4AnalysisfxAnalysis {nullptr}
 1
 
TGo4AnalysisClientfxAnalysisClient {nullptr}
 1
 

Additional Inherited Members

- Protected Member Functions inherited from TGo4Runnable
 TGo4Runnable ()
 
virtual Int_t PostRun (void *ptr)
 Function which is called once after the Run()method on threadstop.
 
virtual Int_t PreRun (void *ptr)
 Function which is called once before the Run() method on threadstart.
 
virtual void ThreadCatch (TGo4Exception &ex)
 catch for exceptions occurring in workfunc
 
virtual void UnexpectedCatch ()
 catch for all unexpected exceptions happening in workfunc
 
- Protected Attributes inherited from TGo4Runnable
TGo4ThreadfxGo4Thread {nullptr}
 Backlink to thread which runs this.
 
TGo4ThreadManagerfxManager {nullptr}
 The threadmanager which is responsible for our thread.
 

Detailed Description

runnable performing control watcher functions of analysis client task: status of analysis is send to status queue

Author
J. Adamczewski
Since
11-Jan-2001

Definition at line 28 of file TGo4AnalysisWatchRunnable.h.

Constructor & Destructor Documentation

◆ TGo4AnalysisWatchRunnable() [1/2]

TGo4AnalysisWatchRunnable::TGo4AnalysisWatchRunnable ( const char * name,
TGo4AnalysisClient * cli )

◆ ~TGo4AnalysisWatchRunnable()

TGo4AnalysisWatchRunnable::~TGo4AnalysisWatchRunnable ( )
virtual

Definition at line 31 of file TGo4AnalysisWatchRunnable.cxx.

◆ TGo4AnalysisWatchRunnable() [2/2]

TGo4AnalysisWatchRunnable::TGo4AnalysisWatchRunnable ( )
private

Member Function Documentation

◆ Run()

Int_t TGo4AnalysisWatchRunnable::Run ( void * ptr)
overridevirtual

The working function which runs in the thread.

Implements TGo4Runnable.

Definition at line 36 of file TGo4AnalysisWatchRunnable.cxx.

References fguWATCHINTERVAL, fxAnalysis, fxAnalysisClient, and TGo4Thread::Sleep().

Field Documentation

◆ fguWATCHINTERVAL

const UInt_t TGo4AnalysisWatchRunnable::fguWATCHINTERVAL =1000
static

frequency in ms for the watcher runnable to check the application

Definition at line 37 of file TGo4AnalysisWatchRunnable.h.

Referenced by Run().

◆ fxAnalysis

TGo4Analysis* TGo4AnalysisWatchRunnable::fxAnalysis {nullptr}
private

1

0..1

Definition at line 44 of file TGo4AnalysisWatchRunnable.h.

Referenced by TGo4AnalysisWatchRunnable(), and Run().

◆ fxAnalysisClient

TGo4AnalysisClient* TGo4AnalysisWatchRunnable::fxAnalysisClient {nullptr}
private

1

0..1

Definition at line 49 of file TGo4AnalysisWatchRunnable.h.

Referenced by TGo4AnalysisWatchRunnable(), and Run().


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