Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound 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 @stereotype thread. More...

#include <TGo4ControllerRunnable.h>

Inheritance diagram for TGo4ControllerRunnable:

TGo4Runnable List of all members.

Public Methods

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


Static Public Attributes

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


Private Methods

 TGo4ControllerRunnable ()

Private Attributes

TGo4ExampleControllerfxController
 @supplierCardinality 1. More...

TGo4ExampleServerfxServer

Detailed Description

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

Definition at line 29 of file TGo4ControllerRunnable.h.


Constructor & Destructor Documentation

TGo4ControllerRunnable::TGo4ControllerRunnable const char *    name,
TGo4ExampleServer   serv
 

Definition at line 23 of file TGo4ControllerRunnable.cxx.

References fxController, fxServer, and TRACE.

TGo4ControllerRunnable::~TGo4ControllerRunnable   [virtual]
 

Definition at line 31 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 36 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 21 of file TGo4ControllerRunnable.cxx.

Referenced by Run().

TGo4ExampleController* TGo4ControllerRunnable::fxController [private]
 

@supplierCardinality 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 Tue Nov 8 10:56:35 2005 for Go4-v2.10-5 by doxygen1.2.15