#include <TGo4ControllerRunnable.h>
Public Member Functions | |
TGo4ControllerRunnable (const char *name, TGo4ExampleServer *serv) | |
virtual | ~TGo4ControllerRunnable () |
virtual Int_t | Run (void *) |
Static Public Attributes | |
static const UInt_t | fguCOMMANDINTERVAL = 10000 |
Private Member Functions | |
TGo4ControllerRunnable () | |
Private Attributes | |
TGo4ExampleController * | fxController |
TGo4ExampleServer * | fxServer |
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.
TGo4ControllerRunnable::~TGo4ControllerRunnable | ( | ) | [virtual] |
Definition at line 31 of file TGo4ControllerRunnable.cxx.
References GO4TRACE.
TGo4ControllerRunnable::TGo4ControllerRunnable | ( | ) | [private] |
Int_t TGo4ControllerRunnable::Run | ( | void * | ptr | ) | [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().
const UInt_t TGo4ControllerRunnable::fguCOMMANDINTERVAL = 10000 [static] |
frequency in ms to acquire new command from controller instance
Definition at line 38 of file TGo4ControllerRunnable.h.
Referenced by Run().
1
Definition at line 43 of file TGo4ControllerRunnable.h.
Referenced by Run(), and TGo4ControllerRunnable().
Definition at line 44 of file TGo4ControllerRunnable.h.
Referenced by Run(), and TGo4ControllerRunnable().