#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 *) |
Static Public Attributes | |
static const UInt_t | fguPOLLINTERVAL = 1000 |
Private Member Functions | |
TGo4AnalysisMainRunnable () | |
Private Attributes | |
TGo4Analysis * | fxAnalysis |
TGo4AnalysisClient * | fxAnalysisClient |
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().
TGo4AnalysisMainRunnable::~TGo4AnalysisMainRunnable | ( | ) | [virtual] |
Definition at line 43 of file TGo4AnalysisMainRunnable.cxx.
TGo4AnalysisMainRunnable::TGo4AnalysisMainRunnable | ( | ) | [private] |
Int_t TGo4AnalysisMainRunnable::PostRun | ( | void * | ptr | ) | [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().
Int_t TGo4AnalysisMainRunnable::PreRun | ( | void * | ptr | ) | [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.
Int_t TGo4AnalysisMainRunnable::Run | ( | void * | ptr | ) | [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(), TGo4UserException::GetPriority(), TGo4EventErrorException::GetPriority(), TGo4EventSourceException::GetSourceClass(), TGo4EventSourceException::GetSourceName(), TGo4Task::GetStatusBufferMutex(), TGo4AnalysisStepException::GetStatusMessage(), TGo4DynamicListException::GetStatusMessage(), TGo4AnalysisStepException::GetStepName(), TGo4TaskOwner::GetTask(), TGo4TaskOwner::GetTaskManagerMutex(), TGo4Runnable::GetThread(), TGo4AnalysisStepException::Handle(), TGo4DynamicListException::Handle(), TGo4EventSourceException::Handle(), TGo4CommandInvoker::Instance(), TGo4CommandInvoker::Invoke(), TGo4AnalysisClient::IsCintMode(), TGo4Analysis::IsErrorStopEnabled(), TGo4Analysis::MainCycle(), TGo4Slave::MainIsRunning(), TGo4Slave::NextCommand(), TGo4AnalysisClient::SendStatusMessage(), TGo4Thread::Sleep(), TGo4AnalysisClient::Stop(), and TGo4Thread::Stop().
const UInt_t TGo4AnalysisMainRunnable::fguPOLLINTERVAL = 1000 [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().
TGo4Analysis* TGo4AnalysisMainRunnable::fxAnalysis [private] |
1 0..1
Definition at line 51 of file TGo4AnalysisMainRunnable.h.
Referenced by PostRun(), Run(), and TGo4AnalysisMainRunnable().
1 0..1
Definition at line 56 of file TGo4AnalysisMainRunnable.h.