Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

TGo4AnalysisMainRunnable Class Reference

Main Runnable of the go4 analysis. More...

#include <TGo4AnalysisMainRunnable.h>

Inheritance diagram for TGo4AnalysisMainRunnable:

TGo4Runnable List of all members.

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

TGo4AnalysisfxAnalysis
 @supplierCardinality 1 @directed @clientCardinality 0..1. More...

TGo4AnalysisClientfxAnalysisClient
 @supplierCardinality 1 @directed @clientCardinality 0..1. More...


Detailed Description

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.

Since:
11-Jan-2001 @stereotype thread
Author:
J. Adamczewski

Definition at line 32 of file TGo4AnalysisMainRunnable.h.


Constructor & Destructor Documentation

TGo4AnalysisMainRunnable::TGo4AnalysisMainRunnable const char *    name,
TGo4AnalysisClient   cli
 

Definition at line 36 of file TGo4AnalysisMainRunnable.cxx.

References fxAnalysis.

TGo4AnalysisMainRunnable::~TGo4AnalysisMainRunnable   [virtual]
 

Definition at line 42 of file TGo4AnalysisMainRunnable.cxx.

TGo4AnalysisMainRunnable::TGo4AnalysisMainRunnable   [private]
 


Member Function Documentation

Int_t TGo4AnalysisMainRunnable::Run void *    [virtual]
 

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

Int_t TGo4AnalysisMainRunnable::PreRun void *    [virtual]
 

Function which is called once before the Run() method on threadstart.

Reimplemented from TGo4Runnable.

Definition at line 56 of file TGo4AnalysisMainRunnable.cxx.

References TRACE.

Int_t TGo4AnalysisMainRunnable::PostRun void *    [virtual]
 

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


Member Data Documentation

const UInt_t TGo4AnalysisMainRunnable::fguPOLLINTERVAL = 1000 [static]
 

frequency in ms for polling the run flag (server mode without command queue).

Definition at line 34 of file TGo4AnalysisMainRunnable.cxx.

Referenced by Run().

TGo4Analysis* TGo4AnalysisMainRunnable::fxAnalysis [private]
 

@supplierCardinality 1 @directed @clientCardinality 0..1.

Definition at line 53 of file TGo4AnalysisMainRunnable.h.

Referenced by PostRun(), Run(), and TGo4AnalysisMainRunnable().

TGo4AnalysisClient* TGo4AnalysisMainRunnable::fxAnalysisClient [private]
 

@supplierCardinality 1 @directed @clientCardinality 0..1.

Definition at line 58 of file TGo4AnalysisMainRunnable.h.

Referenced by PostRun(), and Run().


The documentation for this class was generated from the following files:
Generated on Tue Nov 8 10:56:27 2005 for Go4-v2.10-5 by doxygen1.2.15