GSI Object Oriented Online Offline (Go4)  GO4-6.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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 ()
 
TPad * GetPad1 ()
 
TPad * GetPad2 ()
 
- 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
 
- Protected Attributes inherited from TGo4ThreadManager
Bool_t fbInitDone
 
Bool_t fbTerminating
 
Bool_t fbTerminateApplication
 
Bool_t fbAppBlocking
 
Bool_t fbAutoCreate
 
Bool_t fbAutoStart
 
Int_t fbBeingQuit
 
TGo4AppControlTimerfxBlocker
 
TGo4ThreadHandlerfxWorkHandler
 

Private Attributes

TCanvas * fxCanvas
 
TPad * fxPad1
 
TPad * fxPad2
 

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 ( const char *  name)
TGo4TestThreadManager::~TGo4TestThreadManager ( )
virtual

Definition at line 55 of file TGo4TestThreadManager.cxx.

References fxCanvas, fxPad1, fxPad2, and GO4TRACE.

Member Function Documentation

TCanvas* TGo4TestThreadManager::GetCanvas ( )
inline

Definition at line 48 of file TGo4TestThreadManager.h.

References fxCanvas.

TPad* TGo4TestThreadManager::GetPad1 ( )
inline

Definition at line 50 of file TGo4TestThreadManager.h.

References fxPad1.

TPad* TGo4TestThreadManager::GetPad2 ( )
inline

Definition at line 52 of file TGo4TestThreadManager.h.

References fxPad1.

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

TCanvas* TGo4TestThreadManager::fxCanvas
private
TGo4TestRunnable* TGo4TestThreadManager::fxControlRunnable
protected

Definition at line 58 of file TGo4TestThreadManager.h.

Referenced by TGo4TestThreadManager().

TPad* TGo4TestThreadManager::fxPad1
private
TPad* TGo4TestThreadManager::fxPad2
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: