GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | List of all members
TGo4ControllerRunnable Class Reference

#include <TGo4ControllerRunnable.h>

+ Inheritance diagram for TGo4ControllerRunnable:

Public Member Functions

 TGo4ControllerRunnable (const char *name, TGo4ExampleServer *serv)
 
virtual ~TGo4ControllerRunnable ()
 
Int_t Run (void *) override
 
- Public Member Functions inherited from TGo4Runnable
 TGo4Runnable (const TGo4Runnable &right)
 
 TGo4Runnable (const char *name, TGo4ThreadManager *man)
 
virtual ~TGo4Runnable ()
 
void SetThread (TGo4Thread *gthread)
 
TGo4ThreadGetThread () const
 
TGo4ThreadManagerGetThreadManager () const
 

Static Public Attributes

static const UInt_t fguCOMMANDINTERVAL =10000
 

Private Member Functions

 TGo4ControllerRunnable ()
 

Private Attributes

TGo4ExampleControllerfxController {nullptr}
 
TGo4ExampleServerfxServer {nullptr}
 

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
TGo4ThreadManagerfxManager {nullptr}
 
TGo4ThreadfxGo4Thread {nullptr}
 

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 27 of file TGo4ControllerRunnable.h.

Constructor & Destructor Documentation

◆ TGo4ControllerRunnable() [1/2]

TGo4ControllerRunnable::TGo4ControllerRunnable ( const char *  name,
TGo4ExampleServer serv 
)

◆ ~TGo4ControllerRunnable()

TGo4ControllerRunnable::~TGo4ControllerRunnable ( )
virtual

Definition at line 30 of file TGo4ControllerRunnable.cxx.

References GO4TRACE.

◆ TGo4ControllerRunnable() [2/2]

TGo4ControllerRunnable::TGo4ControllerRunnable ( )
private

Member Function Documentation

◆ Run()

Int_t TGo4ControllerRunnable::Run ( void *  ptr)
overridevirtual

Member Data Documentation

◆ fguCOMMANDINTERVAL

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().

◆ fxController

TGo4ExampleController* TGo4ControllerRunnable::fxController {nullptr}
private

1

Definition at line 43 of file TGo4ControllerRunnable.h.

Referenced by Run(), and TGo4ControllerRunnable().

◆ fxServer

TGo4ExampleServer* TGo4ControllerRunnable::fxServer {nullptr}
private

Definition at line 44 of file TGo4ControllerRunnable.h.

Referenced by Run(), and TGo4ControllerRunnable().


The documentation for this class was generated from the following files: