GSI Object Oriented Online Offline (Go4)
GO4-5.3.2
|
#include <TGo4ControllerRunnable.h>
Public Member Functions | |
TGo4ControllerRunnable (const char *name, TGo4ExampleServer *serv) | |
virtual | ~TGo4ControllerRunnable () |
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 | fguCOMMANDINTERVAL =10000 |
Private Member Functions | |
TGo4ControllerRunnable () | |
Private Attributes | |
TGo4ExampleController * | fxController |
TGo4ExampleServer * | fxServer |
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 the main action of example client task: getting commands out of command queue, sending objects into data queue thread
Definition at line 27 of file TGo4ControllerRunnable.h.
TGo4ControllerRunnable::TGo4ControllerRunnable | ( | const char * | name, |
TGo4ExampleServer * | serv | ||
) |
Definition at line 23 of file TGo4ControllerRunnable.cxx.
References fxController, fxServer, TGo4ExampleServer::GetController(), and GO4TRACE.
|
virtual |
Definition at line 31 of file TGo4ControllerRunnable.cxx.
References GO4TRACE.
|
private |
|
virtual |
The working function which runs in the thread
Implements TGo4Runnable.
Definition at line 36 of file TGo4ControllerRunnable.cxx.
References TGo4ExampleController::DisplayData(), fguCOMMANDINTERVAL, fxController, fxServer, TGo4ExampleController::GetCommand(), TGo4ServerTask::GetCurrentTaskHandler(), GO4TRACE, TGo4Task::NextObject(), TGo4Thread::Sleep(), and TGo4Task::SubmitCommand().
|
static |
frequency in ms to acquire new command from controller instance
Definition at line 38 of file TGo4ControllerRunnable.h.
Referenced by Run().
|
private |
1
Definition at line 43 of file TGo4ControllerRunnable.h.
Referenced by Run(), and TGo4ControllerRunnable().
|
private |
Definition at line 44 of file TGo4ControllerRunnable.h.
Referenced by Run(), and TGo4ControllerRunnable().