Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class 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 Member Functions

 TGo4AnalysisMainRunnable (const char *name, TGo4AnalysisClient *cli)
virtual ~TGo4AnalysisMainRunnable ()
virtual Int_t Run (void *)
 The working function which runs in the thread.
virtual Int_t PreRun (void *)
 Function which is called once before the Run() method on threadstart.
virtual Int_t PostRun (void *)
 Function which is called once after the Run()method on threadstop.

Static Public Attributes

static const UInt_t fguPOLLINTERVAL = 1000
 frequency in ms for polling the run flag (server mode without command queue)

Private Member Functions

 TGo4AnalysisMainRunnable ()

Private Attributes

TGo4AnalysisfxAnalysis
 1 0.
TGo4AnalysisClientfxAnalysisClient
 1 0.

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 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 39 of file TGo4AnalysisMainRunnable.cxx.

References fxAnalysis, and TGo4AnalysisClient::GetAnalysis().

TGo4AnalysisMainRunnable::~TGo4AnalysisMainRunnable  )  [virtual]
 

Definition at line 45 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 72 of file TGo4AnalysisMainRunnable.cxx.

References fguPOLLINTERVAL, fxAnalysis, fxAnalysisClient, TGo4Task::Get_fgiTERMID(), TGo4Command::GetCommandID(), TGo4Log::GetIgnoreLevel(), TGo4TaskOwner::GetName(), TGo4TaskOwner::GetTask(), TGo4TaskOwner::GetTaskManagerMutex(), TGo4Runnable::GetThread(), TGo4CommandInvoker::Instance(), TGo4AnalysisClient::IsCintMode(), TGo4Analysis::IsErrorStopEnabled(), TGo4Analysis::MainCycle(), TGo4Slave::MainIsRunning(), TGo4Slave::NextCommand(), TGo4Slave::SendStatusMessage(), TGo4Thread::Sleep(), and TGo4AnalysisClient::Stop().

Int_t TGo4AnalysisMainRunnable::PreRun void *   )  [virtual]
 

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

Reimplemented from TGo4Runnable.

Definition at line 62 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 50 of file TGo4AnalysisMainRunnable.cxx.

References fxAnalysis, fxAnalysisClient, TGo4TaskOwner::IsServer(), 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 37 of file TGo4AnalysisMainRunnable.cxx.

Referenced by Run().

TGo4Analysis* TGo4AnalysisMainRunnable::fxAnalysis [private]
 

1 0.

.1

Definition at line 53 of file TGo4AnalysisMainRunnable.h.

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

TGo4AnalysisClient* TGo4AnalysisMainRunnable::fxAnalysisClient [private]
 

1 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 Fri Nov 28 13:00:22 2008 for Go4-v3.04-1 by  doxygen 1.4.2