GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TGo4AnalysisMainRunnable Class Reference

Main Runnable of the go4 analysis. More...

#include <TGo4AnalysisMainRunnable.h>

+ Inheritance diagram for TGo4AnalysisMainRunnable:

Public Member Functions

 TGo4AnalysisMainRunnable (const char *name, TGo4AnalysisClient *cli)
 
virtual ~TGo4AnalysisMainRunnable ()
 
Int_t PostRun (void *) override
 Function which is called once after the Run()method on threadstop.
 
Int_t PreRun (void *) override
 Function which is called once before the Run() method on threadstart.
 
Int_t Run (void *) override
 The working function which runs in the thread.
 
- Public Member Functions inherited from TGo4Runnable
 TGo4Runnable (const char *name, TGo4ThreadManager *man)
 
 TGo4Runnable (const TGo4Runnable &right)
 
virtual ~TGo4Runnable ()
 
TGo4ThreadGetThread () const
 
TGo4ThreadManagerGetThreadManager () const
 
void SetThread (TGo4Thread *gthread)
 

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 {nullptr}
 1
 
TGo4AnalysisClientfxAnalysisClient {nullptr}
 1
 

Additional Inherited Members

- Protected Member Functions inherited from TGo4Runnable
 TGo4Runnable ()
 
virtual void ThreadCatch (TGo4Exception &ex)
 catch for exceptions occurring in workfunc
 
virtual void UnexpectedCatch ()
 catch for all unexpected exceptions happening in workfunc
 
- Protected Attributes inherited from TGo4Runnable
TGo4ThreadfxGo4Thread {nullptr}
 Backlink to thread which runs this.
 
TGo4ThreadManagerfxManager {nullptr}
 The threadmanager which is responsible for our thread.
 

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
Author
J. Adamczewski

Definition at line 29 of file TGo4AnalysisMainRunnable.h.

Constructor & Destructor Documentation

◆ TGo4AnalysisMainRunnable() [1/2]

TGo4AnalysisMainRunnable::TGo4AnalysisMainRunnable ( const char * name,
TGo4AnalysisClient * cli )

◆ ~TGo4AnalysisMainRunnable()

TGo4AnalysisMainRunnable::~TGo4AnalysisMainRunnable ( )
virtual

Definition at line 42 of file TGo4AnalysisMainRunnable.cxx.

◆ TGo4AnalysisMainRunnable() [2/2]

TGo4AnalysisMainRunnable::TGo4AnalysisMainRunnable ( )
private

Member Function Documentation

◆ PostRun()

Int_t TGo4AnalysisMainRunnable::PostRun ( void * ptr)
overridevirtual

Function which is called once after the Run()method on threadstop.

Reimplemented from TGo4Runnable.

Definition at line 46 of file TGo4AnalysisMainRunnable.cxx.

References fxAnalysis, and fxAnalysisClient.

◆ PreRun()

Int_t TGo4AnalysisMainRunnable::PreRun ( void * ptr)
overridevirtual

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

Reimplemented from TGo4Runnable.

Definition at line 57 of file TGo4AnalysisMainRunnable.cxx.

References GO4TRACE.

◆ Run()

Field Documentation

◆ fguPOLLINTERVAL

const UInt_t TGo4AnalysisMainRunnable::fguPOLLINTERVAL =1000
static

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

Definition at line 44 of file TGo4AnalysisMainRunnable.h.

Referenced by Run().

◆ fxAnalysis

TGo4Analysis* TGo4AnalysisMainRunnable::fxAnalysis {nullptr}
private

1

0..1

Definition at line 50 of file TGo4AnalysisMainRunnable.h.

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

◆ fxAnalysisClient

TGo4AnalysisClient* TGo4AnalysisMainRunnable::fxAnalysisClient {nullptr}
private

1

0..1

Definition at line 55 of file TGo4AnalysisMainRunnable.h.

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


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