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

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

#include <TGo4WatchRunnable.h>

+ Inheritance diagram for TGo4WatchRunnable:

Public Member Functions

 TGo4WatchRunnable (const char *name, TGo4ExampleClient *cli)
 
virtual ~TGo4WatchRunnable ()
 
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 =5000
 frequency in ms for the watcher runnable to check the application
 

Private Member Functions

 TGo4WatchRunnable ()
 

Private Attributes

TGo4ExampleApplicationfxApplication {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 example client task: status of application is send to status queue

Definition at line 26 of file TGo4WatchRunnable.h.

Constructor & Destructor Documentation

◆ TGo4WatchRunnable() [1/2]

TGo4WatchRunnable::TGo4WatchRunnable ( const char * name,
TGo4ExampleClient * cli )

◆ ~TGo4WatchRunnable()

TGo4WatchRunnable::~TGo4WatchRunnable ( )
virtual

Definition at line 28 of file TGo4WatchRunnable.cxx.

References GO4TRACE.

◆ TGo4WatchRunnable() [2/2]

TGo4WatchRunnable::TGo4WatchRunnable ( )
private

Member Function Documentation

◆ Run()

Int_t TGo4WatchRunnable::Run ( void * ptr)
overridevirtual

Field Documentation

◆ fguWATCHINTERVAL

const UInt_t TGo4WatchRunnable::fguWATCHINTERVAL =5000
static

frequency in ms for the watcher runnable to check the application

Definition at line 36 of file TGo4WatchRunnable.h.

Referenced by Run().

◆ fxApplication

TGo4ExampleApplication* TGo4WatchRunnable::fxApplication {nullptr}
private

1

0..1

Definition at line 43 of file TGo4WatchRunnable.h.

Referenced by TGo4WatchRunnable(), and Run().


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