GSI Object Oriented Online Offline (Go4)
GO4-5.3.2
|
#include <TGo4AnalysisMainRunnable.h>
Public Member Functions | |
TGo4AnalysisMainRunnable (const char *name, TGo4AnalysisClient *cli) | |
virtual | ~TGo4AnalysisMainRunnable () |
virtual Int_t | Run (void *) |
virtual Int_t | PreRun (void *) |
virtual Int_t | PostRun (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 |
Static Public Attributes | |
static const UInt_t | fguPOLLINTERVAL =1000 |
Private Member Functions | |
TGo4AnalysisMainRunnable () | |
Private Attributes | |
TGo4Analysis * | fxAnalysis |
TGo4AnalysisClient * | fxAnalysisClient |
Additional Inherited Members | |
Protected Member Functions inherited from TGo4Runnable | |
TGo4Runnable () | |
virtual void | ThreadCatch (TGo4Exception &ex) |
virtual void | UnexpectedCatch () |
Protected Attributes inherited from TGo4Runnable | |
TGo4ThreadManager * | fxManager |
TGo4Thread * | fxGo4Thread |
Main Runnable of the go4 analysis. Takes commands out of command queue and processes them, then acts on the analysis framework MainCycle method to process the analysis.
Definition at line 30 of file TGo4AnalysisMainRunnable.h.
TGo4AnalysisMainRunnable::TGo4AnalysisMainRunnable | ( | const char * | name, |
TGo4AnalysisClient * | cli | ||
) |
Definition at line 36 of file TGo4AnalysisMainRunnable.cxx.
References fxAnalysis, and TGo4AnalysisClient::GetAnalysis().
|
virtual |
Definition at line 43 of file TGo4AnalysisMainRunnable.cxx.
|
private |
|
virtual |
Function which is called once after the Run()method on threadstop
Reimplemented from TGo4Runnable.
Definition at line 48 of file TGo4AnalysisMainRunnable.cxx.
References fxAnalysis, fxAnalysisClient, TGo4TaskOwner::IsServer(), TGo4Slave::MainIsRunning(), and TGo4Analysis::PostLoop().
|
virtual |
Function which is called once before the Run() method on threadstart
Reimplemented from TGo4Runnable.
Definition at line 60 of file TGo4AnalysisMainRunnable.cxx.
References GO4TRACE.
|
virtual |
The working function which runs in the thread
Implements TGo4Runnable.
Definition at line 70 of file TGo4AnalysisMainRunnable.cxx.
References fguPOLLINTERVAL, fxAnalysis, fxAnalysisClient, TGo4Task::Get_fgiTERMID(), TGo4Command::GetCommandID(), TGo4DynamicListException::GetEntryClass(), TGo4DynamicListException::GetEntryName(), TGo4EventSourceException::GetErrMess(), TGo4Log::GetIgnoreLevel(), TGo4UserException::GetMessage(), TGo4TaskOwner::GetName(), TGo4EventErrorException::GetPriority(), TGo4UserException::GetPriority(), TGo4EventSourceException::GetSourceClass(), TGo4EventSourceException::GetSourceName(), TGo4Task::GetStatusBufferMutex(), TGo4DynamicListException::GetStatusMessage(), TGo4AnalysisStepException::GetStatusMessage(), TGo4AnalysisStepException::GetStepName(), TGo4TaskOwner::GetTask(), TGo4TaskOwner::GetTaskManagerMutex(), TGo4Runnable::GetThread(), TGo4AnalysisStepException::Handle(), TGo4EventSourceException::Handle(), TGo4DynamicListException::Handle(), TGo4CommandInvoker::Instance(), TGo4CommandInvoker::Invoke(), TGo4AnalysisClient::IsCintMode(), TGo4Analysis::IsErrorStopEnabled(), TGo4Analysis::MainCycle(), TGo4Slave::MainIsRunning(), TGo4Slave::NextCommand(), TGo4Analysis::ProcessEvents(), TGo4AnalysisClient::SendStatusMessage(), TGo4Thread::Sleep(), TGo4Thread::Stop(), and TGo4AnalysisClient::Stop().
|
static |
frequency in ms for polling the run flag (server mode without command queue)
Definition at line 45 of file TGo4AnalysisMainRunnable.h.
Referenced by Run().
|
private |
1 0..1
Definition at line 51 of file TGo4AnalysisMainRunnable.h.
Referenced by PostRun(), Run(), and TGo4AnalysisMainRunnable().
|
private |
1 0..1
Definition at line 56 of file TGo4AnalysisMainRunnable.h.