#include <TGo4TestThreadManager.h>
Public Member Functions | |
TGo4TestThreadManager (const TGo4TestThreadManager &right) | |
TGo4TestThreadManager (const char *name) | |
virtual | ~TGo4TestThreadManager () |
virtual Int_t | TestAction () |
TCanvas * | GetCanvas () |
TPad * | GetPad1 () |
TPad * | GetPad2 () |
Protected Attributes | |
TGo4TestRunnable * | fxControlRunnable |
Private Member Functions | |
TGo4TestThreadManager () | |
Private Attributes | |
TCanvas * | fxCanvas |
TPad * | fxPad1 |
TPad * | fxPad2 |
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.
Definition at line 33 of file TGo4TestThreadManager.h.
TGo4TestThreadManager::TGo4TestThreadManager | ( | const TGo4TestThreadManager & | right | ) |
Definition at line 20 of file TGo4TestThreadManager.cxx.
References GO4TRACE.
TGo4TestThreadManager::TGo4TestThreadManager | ( | const char * | name | ) |
Definition at line 26 of file TGo4TestThreadManager.cxx.
References fxCanvas, fxControlRunnable, fxPad1, fxPad2, TGo4ThreadManager::fxWorkHandler, GO4TRACE, TGo4Log::Info(), TGo4ThreadManager::Launch(), and TGo4ThreadHandler::NewThread().
TGo4TestThreadManager::~TGo4TestThreadManager | ( | ) | [virtual] |
TGo4TestThreadManager::TGo4TestThreadManager | ( | ) | [private] |
TCanvas * TGo4TestThreadManager::GetCanvas | ( | ) |
Definition at line 74 of file TGo4TestThreadManager.cxx.
TPad * TGo4TestThreadManager::GetPad1 | ( | ) |
Definition at line 80 of file TGo4TestThreadManager.cxx.
TPad * TGo4TestThreadManager::GetPad2 | ( | ) |
Definition at line 86 of file TGo4TestThreadManager.cxx.
Int_t TGo4TestThreadManager::TestAction | ( | ) | [virtual] |
general testfunction which can be called from any thread runnable
Definition at line 67 of file TGo4TestThreadManager.cxx.
References GO4TRACE.
TCanvas* TGo4TestThreadManager::fxCanvas [private] |
Definition at line 66 of file TGo4TestThreadManager.h.
Referenced by GetCanvas(), TGo4TestThreadManager(), and ~TGo4TestThreadManager().
TGo4TestRunnable* TGo4TestThreadManager::fxControlRunnable [protected] |
Definition at line 60 of file TGo4TestThreadManager.h.
Referenced by TGo4TestThreadManager().
TPad* TGo4TestThreadManager::fxPad1 [private] |
Definition at line 67 of file TGo4TestThreadManager.h.
Referenced by GetPad1(), TGo4TestThreadManager(), and ~TGo4TestThreadManager().
TPad* TGo4TestThreadManager::fxPad2 [private] |
Definition at line 68 of file TGo4TestThreadManager.h.
Referenced by GetPad2(), TGo4TestThreadManager(), and ~TGo4TestThreadManager().