GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | List of all members
TGo4AnalysisMainRunnable Class Reference

#include <TGo4AnalysisMainRunnable.h>

+ Inheritance diagram for TGo4AnalysisMainRunnable:

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)
 
TGo4ThreadGetThread () const
 
TGo4ThreadManagerGetThreadManager () const
 

Static Public Attributes

static const UInt_t fguPOLLINTERVAL =1000
 

Private Member Functions

 TGo4AnalysisMainRunnable ()
 

Private Attributes

TGo4AnalysisfxAnalysis
 
TGo4AnalysisClientfxAnalysisClient
 

Additional Inherited Members

- Protected Member Functions inherited from TGo4Runnable
 TGo4Runnable ()
 
virtual void ThreadCatch (TGo4Exception &ex)
 
virtual void UnexpectedCatch ()
 
- Protected Attributes inherited from TGo4Runnable
TGo4ThreadManagerfxManager
 
TGo4ThreadfxGo4Thread
 

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 30 of file TGo4AnalysisMainRunnable.h.

Constructor & Destructor Documentation

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

Member Function Documentation

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

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

TGo4AnalysisClient* TGo4AnalysisMainRunnable::fxAnalysisClient
private

1 0..1

Definition at line 56 of file TGo4AnalysisMainRunnable.h.

Referenced by PostRun(), and Run().


The documentation for this class was generated from the following files: