Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

TGo4ControllerRunnable Class Reference

runnable performing the main action of example client task: getting commands out of command queue, sending objects into data queue thread More...

#include <TGo4ControllerRunnable.h>

Inheritance diagram for TGo4ControllerRunnable:

TGo4Runnable List of all members.

Public Member Functions

 TGo4ControllerRunnable (const char *name, TGo4ExampleServer *serv)
virtual ~TGo4ControllerRunnable ()
virtual Int_t Run (void *)
 The working function which runs in the thread.

Static Public Attributes

static const UInt_t fguCOMMANDINTERVAL = 10000
 frequency in ms to acquire new command from controller instance

Private Member Functions

 TGo4ControllerRunnable ()

Private Attributes

TGo4ExampleControllerfxController
 1
TGo4ExampleServerfxServer

Detailed Description

runnable performing the main action of example client task: getting commands out of command queue, sending objects into data queue thread

Definition at line 29 of file TGo4ControllerRunnable.h.


Constructor & Destructor Documentation

TGo4ControllerRunnable::TGo4ControllerRunnable const char *  name,
TGo4ExampleServer serv
 

Definition at line 25 of file TGo4ControllerRunnable.cxx.

References fxController, fxServer, TGo4ExampleServer::GetController(), and TRACE.

TGo4ControllerRunnable::~TGo4ControllerRunnable  )  [virtual]
 

Definition at line 33 of file TGo4ControllerRunnable.cxx.

References TRACE.

TGo4ControllerRunnable::TGo4ControllerRunnable  )  [private]
 


Member Function Documentation

Int_t TGo4ControllerRunnable::Run void *   )  [virtual]
 

The working function which runs in the thread.

Implements TGo4Runnable.

Definition at line 38 of file TGo4ControllerRunnable.cxx.

References TGo4ExampleController::DisplayData(), fguCOMMANDINTERVAL, fxController, fxServer, TGo4ExampleController::GetCommand(), TGo4ServerTask::GetCurrentTaskHandler(), TGo4Task::NextObject(), TGo4Thread::Sleep(), TGo4Task::SubmitCommand(), and TRACE.


Member Data Documentation

const UInt_t TGo4ControllerRunnable::fguCOMMANDINTERVAL = 10000 [static]
 

frequency in ms to acquire new command from controller instance

Definition at line 23 of file TGo4ControllerRunnable.cxx.

Referenced by Run().

TGo4ExampleController* TGo4ControllerRunnable::fxController [private]
 

1

Definition at line 45 of file TGo4ControllerRunnable.h.

Referenced by Run(), and TGo4ControllerRunnable().

TGo4ExampleServer* TGo4ControllerRunnable::fxServer [private]
 

Definition at line 46 of file TGo4ControllerRunnable.h.

Referenced by Run(), and TGo4ControllerRunnable().


The documentation for this class was generated from the following files:
Generated on Fri Nov 28 13:00:48 2008 for Go4-v3.04-1 by  doxygen 1.4.2