GSI Object Oriented Online Offline (Go4) GO4-6.4.0
|
runnable performing control watcher functions of example client task: status of application is send to status queue More...
#include <TGo4WatchRunnable.h>
Public Member Functions | |
TGo4WatchRunnable (const char *name, TGo4ExampleClient *cli) | |
virtual | ~TGo4WatchRunnable () |
Int_t | Run (void *) override |
The working function which runs in the thread. | |
![]() | |
TGo4Runnable (const char *name, TGo4ThreadManager *man) | |
TGo4Runnable (const TGo4Runnable &right) | |
virtual | ~TGo4Runnable () |
TGo4Thread * | GetThread () const |
TGo4ThreadManager * | GetThreadManager () 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 | |
TGo4ExampleApplication * | fxApplication {nullptr} |
1 | |
Additional Inherited Members | |
![]() | |
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 | |
![]() | |
TGo4Thread * | fxGo4Thread {nullptr} |
Backlink to thread which runs this. | |
TGo4ThreadManager * | fxManager {nullptr} |
The threadmanager which is responsible for our thread. | |
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.
TGo4WatchRunnable::TGo4WatchRunnable | ( | const char * | name, |
TGo4ExampleClient * | cli ) |
Definition at line 21 of file TGo4WatchRunnable.cxx.
References TGo4Runnable::TGo4Runnable(), fxApplication, TGo4ExampleClient::GetApplication(), and GO4TRACE.
|
virtual |
Definition at line 28 of file TGo4WatchRunnable.cxx.
References GO4TRACE.
|
private |
|
overridevirtual |
The working function which runs in the thread.
Implements TGo4Runnable.
Definition at line 34 of file TGo4WatchRunnable.cxx.
References fguWATCHINTERVAL, fxApplication, TGo4Runnable::fxManager, GO4TRACE, TGo4Task::SendStatusBuffer(), TGo4Task::SendStatusMessage(), TGo4Thread::Sleep(), and TGo4Task::UpdateStatusBuffer().
|
static |
frequency in ms for the watcher runnable to check the application
Definition at line 36 of file TGo4WatchRunnable.h.
Referenced by Run().
|
private |
1
0..1
Definition at line 43 of file TGo4WatchRunnable.h.
Referenced by TGo4WatchRunnable(), and Run().