GSI Object Oriented Online Offline (Go4)
GO4-5.3.2
|
#include <TGo4WatchRunnable.h>
Public Member Functions | |
TGo4WatchRunnable (const char *name, TGo4ExampleClient *cli) | |
virtual | ~TGo4WatchRunnable () |
virtual Int_t | Run (void *) |
Public Member Functions inherited from TGo4Runnable | |
TGo4Runnable (const TGo4Runnable &right) | |
TGo4Runnable (const char *name, TGo4ThreadManager *man) | |
virtual | ~TGo4Runnable () |
void | SetThread (TGo4Thread *gthread) |
TGo4Thread * | GetThread () const |
TGo4ThreadManager * | GetThreadManager () const |
Static Public Attributes | |
static const UInt_t | fguWATCHINTERVAL =5000 |
Private Member Functions | |
TGo4WatchRunnable () | |
Private Attributes | |
TGo4ExampleApplication * | fxApplication |
Additional Inherited Members | |
Protected Member Functions inherited from TGo4Runnable | |
TGo4Runnable () | |
virtual Int_t | PreRun (void *ptr) |
virtual Int_t | PostRun (void *ptr) |
virtual void | ThreadCatch (TGo4Exception &ex) |
virtual void | UnexpectedCatch () |
Protected Attributes inherited from TGo4Runnable | |
TGo4ThreadManager * | fxManager |
TGo4Thread * | fxGo4Thread |
runnable performing control watcher functions of example client task: status of application is send to status queue thread
Definition at line 27 of file TGo4WatchRunnable.h.
TGo4WatchRunnable::TGo4WatchRunnable | ( | const char * | name, |
TGo4ExampleClient * | cli | ||
) |
Definition at line 22 of file TGo4WatchRunnable.cxx.
References fxApplication, TGo4ExampleClient::GetApplication(), and GO4TRACE.
|
virtual |
Definition at line 29 of file TGo4WatchRunnable.cxx.
References GO4TRACE.
|
private |
|
virtual |
The working function which runs in the thread
Implements TGo4Runnable.
Definition at line 35 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 37 of file TGo4WatchRunnable.h.
Referenced by Run().
|
private |
1 0..1
Definition at line 44 of file TGo4WatchRunnable.h.
Referenced by Run(), and TGo4WatchRunnable().