Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

TGo4TestThreadManager Class Reference

Example of a user subclass of the threadmanager. More...

#include <TGo4TestThreadManager.h>

Inheritance diagram for TGo4TestThreadManager:

TGo4ThreadManager List of all members.

Public Methods

 TGo4TestThreadManager (const TGo4TestThreadManager &right)
 TGo4TestThreadManager (Text_t *name)
virtual ~TGo4TestThreadManager ()
TGo4TestThreadManager & operator= (const TGo4TestThreadManager &right)
virtual Int_t TestAction ()
 general testfunction which can be called from any thread runnable. More...

TCanvas * GetCanvas ()
TPad * GetPad1 ()
TPad * GetPad2 ()

Protected Attributes

TGo4TestRunnablefxControlRunnable

Private Methods

 TGo4TestThreadManager ()

Private Attributes

TCanvas * fxCanvas
TPad * fxPad1
TPad * fxPad2

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 , Go4 project-DVEE-GSI Darmstadt , Germany , j.adamczewski@gsi.de
Version:
0.9
Since:
jul 2000-oct 2001

Definition at line 36 of file TGo4TestThreadManager.h.


Constructor & Destructor Documentation

TGo4TestThreadManager::TGo4TestThreadManager const TGo4TestThreadManager &    right
 

Definition at line 23 of file TGo4TestThreadManager.cxx.

References TRACE.

TGo4TestThreadManager::TGo4TestThreadManager Text_t *    name
 

Definition at line 29 of file TGo4TestThreadManager.cxx.

References TGo4ThreadManager::fguTEXTLENGTH, fxCanvas, fxControlRunnable, fxPad1, fxPad2, TGo4ThreadManager::fxWorkHandler, TGo4ThreadManager::Launch(), TGo4ThreadHandler::NewThread(), and TRACE.

TGo4TestThreadManager::~TGo4TestThreadManager   [virtual]
 

Definition at line 67 of file TGo4TestThreadManager.cxx.

References fxCanvas, fxPad1, fxPad2, and TRACE.

TGo4TestThreadManager::TGo4TestThreadManager   [private]
 


Member Function Documentation

TGo4TestThreadManager & TGo4TestThreadManager::operator= const TGo4TestThreadManager &    right
 

Definition at line 76 of file TGo4TestThreadManager.cxx.

References TGo4ThreadManager::operator=(), and TRACE.

Int_t TGo4TestThreadManager::TestAction   [virtual]
 

general testfunction which can be called from any thread runnable.

Definition at line 96 of file TGo4TestThreadManager.cxx.

References TRACE.

TCanvas * TGo4TestThreadManager::GetCanvas  
 

Definition at line 103 of file TGo4TestThreadManager.cxx.

References fxCanvas, and TRACE.

TPad * TGo4TestThreadManager::GetPad1  
 

Definition at line 109 of file TGo4TestThreadManager.cxx.

References fxPad1, and TRACE.

TPad * TGo4TestThreadManager::GetPad2  
 

Definition at line 115 of file TGo4TestThreadManager.cxx.

References fxPad2, and TRACE.


Member Data Documentation

TGo4TestRunnable* TGo4TestThreadManager::fxControlRunnable [protected]
 

Definition at line 66 of file TGo4TestThreadManager.h.

Referenced by TGo4TestThreadManager().

TCanvas* TGo4TestThreadManager::fxCanvas [private]
 

Definition at line 72 of file TGo4TestThreadManager.h.

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

TPad* TGo4TestThreadManager::fxPad1 [private]
 

Definition at line 73 of file TGo4TestThreadManager.h.

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

TPad* TGo4TestThreadManager::fxPad2 [private]
 

Definition at line 74 of file TGo4TestThreadManager.h.

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


The documentation for this class was generated from the following files:
Generated on Tue Nov 8 10:56:57 2005 for Go4-v2.10-5 by doxygen1.2.15