#include <TGo4WatchRunnable.h>
Public Member Functions | |
TGo4WatchRunnable (const char *name, TGo4ExampleClient *cli) | |
virtual | ~TGo4WatchRunnable () |
virtual Int_t | Run (void *) |
Static Public Attributes | |
static const UInt_t | fguWATCHINTERVAL = 5000 |
Private Member Functions | |
TGo4WatchRunnable () | |
Private Attributes | |
TGo4ExampleApplication * | fxApplication |
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.
TGo4WatchRunnable::~TGo4WatchRunnable | ( | ) | [virtual] |
Definition at line 29 of file TGo4WatchRunnable.cxx.
References GO4TRACE.
TGo4WatchRunnable::TGo4WatchRunnable | ( | ) | [private] |
Int_t TGo4WatchRunnable::Run | ( | void * | ptr | ) | [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().
const UInt_t TGo4WatchRunnable::fguWATCHINTERVAL = 5000 [static] |
frequency in ms for the watcher runnable to check the application
Definition at line 37 of file TGo4WatchRunnable.h.
Referenced by Run().
1 0..1
Definition at line 44 of file TGo4WatchRunnable.h.
Referenced by Run(), and TGo4WatchRunnable().