#include <TGo4CommandInvoker.h>
Public Member Functions | |
virtual void | Invoke (TGo4Command *com) |
virtual void | Invoke () |
virtual | ~TGo4CommandInvoker () |
Int_t | ExecuteFromRemote (TGo4RemoteCommand *remcom) |
Create real command from remote command and invoke it. | |
Static Public Member Functions | |
static TGo4CommandInvoker * | Instance () |
static void | Register (const char *name, TGo4CommandReceiver *p) |
static void | UnRegister (TGo4CommandReceiver *p) |
static void | SetCommandList (TGo4CommandProtoList *list) |
Application may exchange standard command list by own subclass with specialized commands, e.g. | |
Protected Member Functions | |
TGo4CommandInvoker () | |
Static Protected Member Functions | |
static TGo4CommandReceiver * | Lookup (const char *name) |
Private Attributes | |
TGo4Command * | fxCommand |
aggregation | |
Static Private Attributes | |
static TGo4CommandProtoList * | fxCommandList = 0 |
For remote commands, invoker will create the requested slave commands from own command list. | |
static TGo4CommandInvoker * | fxInstance = 0 |
static TObjArray * | fxArray = 0 |
static TMutex * | fxMutex = 0 |
Decouples CommandClient and Command object circular dependencies
Definition at line 37 of file TGo4CommandInvoker.h.
TGo4CommandInvoker::~TGo4CommandInvoker | ( | ) | [virtual] |
Definition at line 65 of file TGo4CommandInvoker.cxx.
TGo4CommandInvoker::TGo4CommandInvoker | ( | ) | [protected] |
Definition at line 53 of file TGo4CommandInvoker.cxx.
TGo4CommandInvoker * TGo4CommandInvoker::Instance | ( | ) | [static] |
Definition at line 76 of file TGo4CommandInvoker.cxx.
void TGo4CommandInvoker::Register | ( | const char * | name, | |
TGo4CommandReceiver * | p | |||
) | [static] |
Definition at line 84 of file TGo4CommandInvoker.cxx.
void TGo4CommandInvoker::UnRegister | ( | TGo4CommandReceiver * | p | ) | [static] |
Definition at line 91 of file TGo4CommandInvoker.cxx.
void TGo4CommandInvoker::Invoke | ( | TGo4Command * | com | ) | [virtual] |
Definition at line 123 of file TGo4CommandInvoker.cxx.
void TGo4CommandInvoker::Invoke | ( | ) | [virtual] |
Definition at line 140 of file TGo4CommandInvoker.cxx.
void TGo4CommandInvoker::SetCommandList | ( | TGo4CommandProtoList * | list | ) | [static] |
Application may exchange standard command list by own subclass with specialized commands, e.g.
for analysis control
Definition at line 157 of file TGo4CommandInvoker.cxx.
Int_t TGo4CommandInvoker::ExecuteFromRemote | ( | TGo4RemoteCommand * | remcom | ) |
Create real command from remote command and invoke it.
Used when remote command acts on this invoker as receiver
Definition at line 163 of file TGo4CommandInvoker.cxx.
TGo4CommandReceiver * TGo4CommandInvoker::Lookup | ( | const char * | name | ) | [static, protected] |
Definition at line 115 of file TGo4CommandInvoker.cxx.
TGo4Command* TGo4CommandInvoker::fxCommand [private] |
TGo4CommandProtoList * TGo4CommandInvoker::fxCommandList = 0 [static, private] |
For remote commands, invoker will create the requested slave commands from own command list.
Definition at line 74 of file TGo4CommandInvoker.h.
TGo4CommandInvoker * TGo4CommandInvoker::fxInstance = 0 [static, private] |
Definition at line 76 of file TGo4CommandInvoker.h.
TObjArray * TGo4CommandInvoker::fxArray = 0 [static, private] |
Definition at line 77 of file TGo4CommandInvoker.h.
TMutex * TGo4CommandInvoker::fxMutex = 0 [static, private] |
Definition at line 78 of file TGo4CommandInvoker.h.