|
GSI Object Oriented Online Offline (Go4)
GO4-5.3.2
|
#include <TGo4TestThreadManager.h>
Inheritance diagram for TGo4TestThreadManager:Public Member Functions | |
| TGo4TestThreadManager (const TGo4TestThreadManager &right) | |
| 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) |
| TGo4ThreadHandler * | GetWorkHandler () 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 | |
| TGo4TestRunnable * | fxControlRunnable |
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 |
| TGo4AppControlTimer * | fxBlocker |
| TGo4ThreadHandler * | fxWorkHandler |
Private Member Functions | |
| TGo4TestThreadManager () | |
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 |
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().
|
virtual |
|
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.
|
virtual |
general testfunction which can be called from any thread runnable
Definition at line 67 of file TGo4TestThreadManager.cxx.
References GO4TRACE.
|
private |
Definition at line 66 of file TGo4TestThreadManager.h.
Referenced by GetCanvas(), TGo4TestThreadManager(), and ~TGo4TestThreadManager().
|
protected |
Definition at line 60 of file TGo4TestThreadManager.h.
Referenced by TGo4TestThreadManager().
|
private |
Definition at line 67 of file TGo4TestThreadManager.h.
Referenced by GetPad1(), TGo4TestThreadManager(), and ~TGo4TestThreadManager().
|
private |
Definition at line 68 of file TGo4TestThreadManager.h.
Referenced by GetPad2(), TGo4TestThreadManager(), and ~TGo4TestThreadManager().
1.8.8