|
GSI Object Oriented Online Offline (Go4)
GO4-6.3.0
|
#include <TGo4TestThreadManager.h>
Inheritance diagram for TGo4TestThreadManager:Public Member Functions | |
| TGo4TestThreadManager (const char *name) | |
| virtual | ~TGo4TestThreadManager () |
| virtual Int_t | TestAction () |
| TCanvas * | GetCanvas () const |
| TPad * | GetPad1 () const |
| TPad * | GetPad2 () const |
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 {nullptr} |
Protected Attributes inherited from TGo4ThreadManager | |
| Bool_t | fbInitDone {kFALSE} |
| Bool_t | fbTerminating {kFALSE} |
| Bool_t | fbTerminateApplication {kFALSE} |
| Bool_t | fbAppBlocking {kFALSE} |
| Bool_t | fbAutoCreate {kFALSE} |
| Bool_t | fbAutoStart {kFALSE} |
| Int_t | fbBeingQuit {0} |
| TGo4AppControlTimer * | fxBlocker {nullptr} |
| TGo4ThreadHandler * | fxWorkHandler {nullptr} |
Private Attributes | |
| TCanvas * | fxCanvas {nullptr} |
| TPad * | fxPad1 {nullptr} |
| TPad * | fxPad2 {nullptr} |
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 34 of file TGo4TestThreadManager.h.
| TGo4TestThreadManager::TGo4TestThreadManager | ( | const char * | name | ) |
Definition at line 22 of file TGo4TestThreadManager.cxx.
References fxCanvas, fxControlRunnable, fxPad1, fxPad2, TGo4ThreadManager::fxWorkHandler, GO4TRACE, TGo4Log::Info(), TGo4ThreadManager::Launch(), and TGo4ThreadHandler::NewThread().
|
virtual |
|
inline |
Definition at line 48 of file TGo4TestThreadManager.h.
References fxCanvas.
|
inline |
Definition at line 50 of file TGo4TestThreadManager.h.
References fxPad1.
|
inline |
Definition at line 52 of file TGo4TestThreadManager.h.
References fxPad1.
|
virtual |
general testfunction which can be called from any thread runnable
Definition at line 63 of file TGo4TestThreadManager.cxx.
References GO4TRACE.
|
private |
Definition at line 62 of file TGo4TestThreadManager.h.
Referenced by GetCanvas(), TGo4TestThreadManager(), and ~TGo4TestThreadManager().
|
protected |
Definition at line 58 of file TGo4TestThreadManager.h.
Referenced by TGo4TestThreadManager().
|
private |
Definition at line 63 of file TGo4TestThreadManager.h.
Referenced by GetPad1(), GetPad2(), TGo4TestThreadManager(), and ~TGo4TestThreadManager().
|
private |
Definition at line 64 of file TGo4TestThreadManager.h.
Referenced by TGo4TestThreadManager(), and ~TGo4TestThreadManager().
1.8.13