GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
Public Member Functions | Protected Attributes | Private Attributes | List of all members
TGo4TestThreadManager Class Reference

#include <TGo4TestThreadManager.h>

+ Inheritance diagram for TGo4TestThreadManager:

Public Member Functions

 TGo4TestThreadManager (const char *name)
 
virtual ~TGo4TestThreadManager ()
 
virtual Int_t TestAction ()
 
TCanvas * GetCanvas () const
 
TPad * GetPad1 () const
 
TPad * GetPad2 () const
 
- Public Member Functions inherited from TGo4ThreadManager
 TGo4ThreadManager (const TGo4ThreadManager &right)
 
 TGo4ThreadManager (const char *name, Bool_t blockingmode=kTRUE, Bool_t autostart=kTRUE, Bool_t autocreate=kTRUE)
 
virtual ~TGo4ThreadManager ()
 
void SetTimer (TGo4AppControlTimer *ctrltimer)
 
TGo4ThreadHandlerGetWorkHandler () const
 
Bool_t BlockApp ()
 
Bool_t UnBlockApp (Int_t mode=0)
 
virtual Int_t Initialization ()
 
Bool_t IsInitDone () const
 
Bool_t IsTerminating () const
 
Bool_t IsTerminateApp () const
 
Bool_t IsAppBlocking () const
 
Bool_t IsBeingQuit () const
 
void SetBeingQuit (Bool_t on)
 
void Launch ()
 
virtual void Terminate (Bool_t termapp=kTRUE)
 
virtual void TerminateFast ()
 

Protected Attributes

TGo4TestRunnablefxControlRunnable {nullptr}
 
- Protected Attributes inherited from TGo4ThreadManager
Bool_t fbInitDone {kFALSE}
 
Bool_t fbTerminating {kFALSE}
 
Bool_t fbTerminateApplication {kFALSE}
 
Bool_t fbAppBlocking {kFALSE}
 
Bool_t fbAutoCreate {kFALSE}
 
Bool_t fbAutoStart {kFALSE}
 
Int_t fbBeingQuit {0}
 
TGo4AppControlTimerfxBlocker {nullptr}
 
TGo4ThreadHandlerfxWorkHandler {nullptr}
 

Private Attributes

TCanvas * fxCanvas {nullptr}
 
TPad * fxPad1 {nullptr}
 
TPad * fxPad2 {nullptr}
 

Additional Inherited Members

- Public Types inherited from TGo4ThreadManager
enum  { fguTEXTLENGTH = 256 }
 
- Static Public Attributes inherited from TGo4ThreadManager
static const Long_t fglTIMERPERIOD = 200
 

Detailed Description

Example of a user subclass of the threadmanager. This test threadmanager creates the runnables in its constructor and adds them to the threadhandler. NOTE: The Launch() method must be called at the end of the user threadmanager constructor to let all things begin.

Author
J. Adamczewski(at)gsi.de
Go4 project-DVEE-GSI Darmstadt
Germany
Version
0.9
Since
jul 2000-oct 2001

Definition at line 34 of file TGo4TestThreadManager.h.

Constructor & Destructor Documentation

◆ TGo4TestThreadManager()

TGo4TestThreadManager::TGo4TestThreadManager ( const char *  name)

◆ ~TGo4TestThreadManager()

TGo4TestThreadManager::~TGo4TestThreadManager ( )
virtual

Definition at line 55 of file TGo4TestThreadManager.cxx.

References fxCanvas, fxPad1, fxPad2, and GO4TRACE.

Member Function Documentation

◆ GetCanvas()

TCanvas* TGo4TestThreadManager::GetCanvas ( ) const
inline

Definition at line 48 of file TGo4TestThreadManager.h.

References fxCanvas.

◆ GetPad1()

TPad* TGo4TestThreadManager::GetPad1 ( ) const
inline

Definition at line 50 of file TGo4TestThreadManager.h.

References fxPad1.

◆ GetPad2()

TPad* TGo4TestThreadManager::GetPad2 ( ) const
inline

Definition at line 52 of file TGo4TestThreadManager.h.

References fxPad1.

◆ TestAction()

Int_t TGo4TestThreadManager::TestAction ( )
virtual

general testfunction which can be called from any thread runnable

Definition at line 63 of file TGo4TestThreadManager.cxx.

References GO4TRACE.

Member Data Documentation

◆ fxCanvas

TCanvas* TGo4TestThreadManager::fxCanvas {nullptr}
private

◆ fxControlRunnable

TGo4TestRunnable* TGo4TestThreadManager::fxControlRunnable {nullptr}
protected

Definition at line 58 of file TGo4TestThreadManager.h.

Referenced by TGo4TestThreadManager().

◆ fxPad1

TPad* TGo4TestThreadManager::fxPad1 {nullptr}
private

◆ fxPad2

TPad* TGo4TestThreadManager::fxPad2 {nullptr}
private

Definition at line 64 of file TGo4TestThreadManager.h.

Referenced by TGo4TestThreadManager(), and ~TGo4TestThreadManager().


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