GSI Object Oriented Online Offline (Go4)
GO4-5.3.2
|
#include <TGo4MainRunnable.h>
Public Member Functions | |
TGo4MainRunnable (const char *name, TGo4ExampleClient *cli) | |
virtual | ~TGo4MainRunnable () |
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 |
Private Member Functions | |
TGo4MainRunnable () | |
Private Attributes | |
TGo4ExampleApplication * | fxApplication |
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 28 of file TGo4MainRunnable.h.
TGo4MainRunnable::TGo4MainRunnable | ( | const char * | name, |
TGo4ExampleClient * | cli | ||
) |
Definition at line 23 of file TGo4MainRunnable.cxx.
References fxApplication, TGo4ExampleClient::GetApplication(), and GO4TRACE.
|
virtual |
Definition at line 30 of file TGo4MainRunnable.cxx.
References GO4TRACE.
|
private |
|
virtual |
The working function which runs in the thread
Implements TGo4Runnable.
Definition at line 35 of file TGo4MainRunnable.cxx.
References TGo4ExampleApplication::FillHistograms(), fxApplication, TGo4Runnable::fxManager, GO4TRACE, TGo4CommandInvoker::Instance(), TGo4CommandInvoker::Invoke(), TGo4Task::NextCommand(), and TGo4Thread::Sleep().
|
private |
1 0..1
Definition at line 41 of file TGo4MainRunnable.h.
Referenced by Run(), and TGo4MainRunnable().