#include <TGo4TaskOwner.h>

Public Member Functions | |
| TGo4TaskOwner () | |
| TGo4TaskOwner (Bool_t isserver) | |
| virtual | ~TGo4TaskOwner () |
| Bool_t | IsServer () |
| TGo4Task * | GetTask () |
| virtual Int_t | StartWorkThreads () |
| Start the working threads of the task owner implementation; this method is used after the current connection has changed, to continue reading/writing the queues. | |
| virtual Int_t | StopWorkThreads () |
| stop the working threads of the task owne implementation; this method is used before the current connection is changed to prevent reading/writing and waiting for the wrong queues. | |
| virtual void | Quit () |
| Quit this instance and the owned task; method to be called from command object, may be overridden in user implementation. | |
| const char * | GetName () const |
| Bool_t | IsConnected () |
| Bool_t | IsBeingQuit () |
| TMutex * | GetTaskManagerMutex () |
| Access to taskmanager mutex; to be locked outside main mutex. | |
Protected Member Functions | |
| void | SetTask (TGo4Task *task, Bool_t delold=kTRUE) |
Private Attributes | |
| TGo4Task * | fxTask |
| 1 1 | |
| Bool_t | fbServerMode |
| Flag if master uses servertask or client task connection. | |
Friends | |
| class | TGo4Task |
| class | TGo4ServerTask |
Bridge between client/server functionality and master/slave.
Definition at line 27 of file TGo4TaskOwner.h.
| TGo4TaskOwner::TGo4TaskOwner | ( | ) |
Definition at line 25 of file TGo4TaskOwner.cxx.
| TGo4TaskOwner::TGo4TaskOwner | ( | Bool_t | isserver | ) |
Definition at line 32 of file TGo4TaskOwner.cxx.
| TGo4TaskOwner::~TGo4TaskOwner | ( | ) | [virtual] |
Definition at line 39 of file TGo4TaskOwner.cxx.
| Bool_t TGo4TaskOwner::IsServer | ( | ) | [inline] |
Definition at line 39 of file TGo4TaskOwner.h.
| TGo4Task* TGo4TaskOwner::GetTask | ( | ) | [inline] |
Definition at line 41 of file TGo4TaskOwner.h.
| Int_t TGo4TaskOwner::StartWorkThreads | ( | ) | [virtual] |
Start the working threads of the task owner implementation; this method is used after the current connection has changed, to continue reading/writing the queues.
To be overridden.
Definition at line 63 of file TGo4TaskOwner.cxx.
| Int_t TGo4TaskOwner::StopWorkThreads | ( | ) | [virtual] |
stop the working threads of the task owne implementation; this method is used before the current connection is changed to prevent reading/writing and waiting for the wrong queues.
To be overridden.
Definition at line 69 of file TGo4TaskOwner.cxx.
| void TGo4TaskOwner::Quit | ( | ) | [virtual] |
Quit this instance and the owned task; method to be called from command object, may be overridden in user implementation.
Definition at line 58 of file TGo4TaskOwner.cxx.
| const char * TGo4TaskOwner::GetName | ( | ) | const |
Definition at line 46 of file TGo4TaskOwner.cxx.
| Bool_t TGo4TaskOwner::IsConnected | ( | ) |
Definition at line 77 of file TGo4TaskOwner.cxx.
| Bool_t TGo4TaskOwner::IsBeingQuit | ( | ) |
Definition at line 103 of file TGo4TaskOwner.cxx.
| TMutex * TGo4TaskOwner::GetTaskManagerMutex | ( | ) |
Access to taskmanager mutex; to be locked outside main mutex.
Definition at line 112 of file TGo4TaskOwner.cxx.
| void TGo4TaskOwner::SetTask | ( | TGo4Task * | task, | |
| Bool_t | delold = kTRUE | |||
| ) | [protected] |
Definition at line 51 of file TGo4TaskOwner.cxx.
friend class TGo4Task [friend] |
Definition at line 28 of file TGo4TaskOwner.h.
friend class TGo4ServerTask [friend] |
Definition at line 29 of file TGo4TaskOwner.h.
TGo4Task* TGo4TaskOwner::fxTask [private] |
Bool_t TGo4TaskOwner::fbServerMode [private] |
Flag if master uses servertask or client task connection.
Definition at line 81 of file TGo4TaskOwner.h.
1.5.6