Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class 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 Member Functions

 TGo4TestThreadManager (const TGo4TestThreadManager &right)
 TGo4TestThreadManager (const char *name)
virtual ~TGo4TestThreadManager ()
virtual Int_t TestAction ()
 general testfunction which can be called from any thread runnable
TCanvas * GetCanvas ()
TPad * GetPad1 ()
TPad * GetPad2 ()

Protected Attributes

TGo4TestRunnablefxControlRunnable

Private Member Functions

 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 24 of file TGo4TestThreadManager.cxx.

References TRACE.

TGo4TestThreadManager::TGo4TestThreadManager const char *  name  ) 
 

Definition at line 30 of file TGo4TestThreadManager.cxx.

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

TGo4TestThreadManager::~TGo4TestThreadManager  )  [virtual]
 

Definition at line 63 of file TGo4TestThreadManager.cxx.

References fxCanvas, fxPad1, fxPad2, and TRACE.

TGo4TestThreadManager::TGo4TestThreadManager  )  [private]
 


Member Function Documentation

Int_t TGo4TestThreadManager::TestAction  )  [virtual]
 

general testfunction which can be called from any thread runnable

Definition at line 71 of file TGo4TestThreadManager.cxx.

References TRACE.

TCanvas * TGo4TestThreadManager::GetCanvas  ) 
 

Definition at line 78 of file TGo4TestThreadManager.cxx.

References fxCanvas, and TRACE.

TPad * TGo4TestThreadManager::GetPad1  ) 
 

Definition at line 84 of file TGo4TestThreadManager.cxx.

References fxPad1, and TRACE.

TPad * TGo4TestThreadManager::GetPad2  ) 
 

Definition at line 90 of file TGo4TestThreadManager.cxx.

References fxPad2, and TRACE.


Member Data Documentation

TGo4TestRunnable* TGo4TestThreadManager::fxControlRunnable [protected]
 

Definition at line 63 of file TGo4TestThreadManager.h.

Referenced by TGo4TestThreadManager().

TCanvas* TGo4TestThreadManager::fxCanvas [private]
 

Definition at line 69 of file TGo4TestThreadManager.h.

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

TPad* TGo4TestThreadManager::fxPad1 [private]
 

Definition at line 70 of file TGo4TestThreadManager.h.

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

TPad* TGo4TestThreadManager::fxPad2 [private]
 

Definition at line 71 of file TGo4TestThreadManager.h.

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


The documentation for this class was generated from the following files:
Generated on Fri Nov 28 13:01:21 2008 for Go4-v3.04-1 by  doxygen 1.4.2