#include <TGo4AnalysisMainRunnable.h>
Inheritance diagram for TGo4AnalysisMainRunnable:
Public Methods | |
TGo4AnalysisMainRunnable (const char *name, TGo4AnalysisClient *cli) | |
virtual | ~TGo4AnalysisMainRunnable () |
virtual Int_t | Run (void *) |
The working function which runs in the thread. More... | |
virtual Int_t | PreRun (void *) |
Function which is called once before the Run() method on threadstart. More... | |
virtual Int_t | PostRun (void *) |
Function which is called once after the Run() method on threadstop. More... | |
Static Public Attributes | |
const UInt_t | fguPOLLINTERVAL = 1000 |
frequency in ms for polling the run flag (server mode without command queue). More... | |
Private Methods | |
TGo4AnalysisMainRunnable () | |
Private Attributes | |
TGo4Analysis * | fxAnalysis |
@supplierCardinality 1 @directed @clientCardinality 0..1. More... | |
TGo4AnalysisClient * | fxAnalysisClient |
@supplierCardinality 1 @directed @clientCardinality 0..1. More... |
Takes commands out of command queue and processes them, then acts on the analysis framework MainCycle method to process the analysis.
Definition at line 32 of file TGo4AnalysisMainRunnable.h.
|
Definition at line 36 of file TGo4AnalysisMainRunnable.cxx. References fxAnalysis. |
|
Definition at line 42 of file TGo4AnalysisMainRunnable.cxx. |
|
|
|
The working function which runs in the thread.
Implements TGo4Runnable. Definition at line 66 of file TGo4AnalysisMainRunnable.cxx. References TGo4Task::fgiTERMID, fguPOLLINTERVAL, fxAnalysis, fxAnalysisClient, TGo4Command::GetCommandID(), TGo4Log::GetIgnoreLevel(), TGo4TaskOwner::GetName(), TGo4Runnable::GetThread(), TGo4CommandInvoker::Instance(), TGo4CommandInvoker::Invoke(), TGo4AnalysisClient::IsCintMode(), TGo4Analysis::IsErrorStopEnabled(), TGo4Analysis::MainCycle(), TGo4Slave::MainIsRunning(), TGo4Slave::NextCommand(), TGo4Slave::SendStatusMessage(), TGo4Thread::Sleep(), TGo4AnalysisClient::Stop(), and TGo4Thread::Stop(). |
|
Function which is called once before the Run() method on threadstart.
Reimplemented from TGo4Runnable. Definition at line 56 of file TGo4AnalysisMainRunnable.cxx. References TRACE. |
|
Function which is called once after the Run() method on threadstop.
Reimplemented from TGo4Runnable. Definition at line 47 of file TGo4AnalysisMainRunnable.cxx. References fxAnalysis, fxAnalysisClient, TGo4Slave::MainIsRunning(), and TGo4Analysis::PostLoop(). |
|
frequency in ms for polling the run flag (server mode without command queue).
Definition at line 34 of file TGo4AnalysisMainRunnable.cxx. Referenced by Run(). |
|
@supplierCardinality 1 @directed @clientCardinality 0..1.
Definition at line 53 of file TGo4AnalysisMainRunnable.h. Referenced by PostRun(), Run(), and TGo4AnalysisMainRunnable(). |
|
@supplierCardinality 1 @directed @clientCardinality 0..1.
Definition at line 58 of file TGo4AnalysisMainRunnable.h. |