#include <TGo4CommandInvoker.h>
Inheritance diagram for TGo4CommandInvoker:
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 |
| |
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 39 of file TGo4CommandInvoker.h.
|
Definition at line 67 of file TGo4CommandInvoker.cxx. References fxArray, fxCommand, fxCommandList, fxMutex, and TRACE. |
|
Definition at line 55 of file TGo4CommandInvoker.cxx. References fxArray, fxCommand, fxCommandList, fxMutex, Register(), and TRACE. Referenced by Instance(). |
|
|
Definition at line 86 of file TGo4CommandInvoker.cxx. References fxArray, fxMutex, and TRACE. Referenced by TGo4AnalysisClient::Constructor(), TGo4Analysis::TGo4Analysis(), TGo4CommandInvoker(), TGo4ExampleApplication::TGo4ExampleApplication(), TGo4HistogramServer::TGo4HistogramServer(), TGo4Master::TGo4Master(), TGo4ServerTask::TGo4ServerTask(), TGo4Slave::TGo4Slave(), and TGo4Task::TGo4Task(). |
|
Definition at line 93 of file TGo4CommandInvoker.cxx. References fxArray, fxMutex, TGo4Pair::GetReceiver(), and TRACE. Referenced by TGo4Analysis::~TGo4Analysis(), TGo4AnalysisClient::~TGo4AnalysisClient(), TGo4ExampleApplication::~TGo4ExampleApplication(), TGo4HistogramServer::~TGo4HistogramServer(), TGo4Master::~TGo4Master(), TGo4ServerTask::~TGo4ServerTask(), TGo4Slave::~TGo4Slave(), and TGo4Task::~TGo4Task(). |
|
Definition at line 125 of file TGo4CommandInvoker.cxx. References TGo4Log::Debug(), fxMutex, Lookup(), and TRACE. |
|
Definition at line 142 of file TGo4CommandInvoker.cxx. References TGo4Command::ExeCom(), fxCommand, fxMutex, TGo4Command::GetReceiverName(), Lookup(), TGo4Command::SetReceiver(), and TRACE. Referenced by ExecuteFromRemote(). |
|
Application may exchange standard command list by own subclass with specialized commands, e.g. for analysis control Definition at line 159 of file TGo4CommandInvoker.cxx. References fxCommandList. Referenced by TGo4AnalysisClient::Constructor(), TGo4Analysis::TGo4Analysis(), TGo4Slave::TGo4Slave(), and TGo4Task::TGo4Task(). |
|
Create real command from remote command and invoke it. Used when remote command acts on this invoker as receiver Definition at line 165 of file TGo4CommandInvoker.cxx. References fxCommandList, TGo4Command::GetMode(), TGo4Command::GetTaskName(), Invoke(), TGo4CommandProtoList::MakeCommand(), TGo4Command::SetMode(), and TGo4Command::SetTaskName(). Referenced by TGo4RemoteCommand::ExeCom(). |
|
Definition at line 117 of file TGo4CommandInvoker.cxx. References fxArray, TGo4Pair::GetReceiver(), and TRACE. Referenced by Invoke(). |
|
Definition at line 72 of file TGo4CommandInvoker.h. Referenced by Invoke(), TGo4CommandInvoker(), and ~TGo4CommandInvoker(). |
|
For remote commands, invoker will create the requested slave commands from own command list.
Definition at line 52 of file TGo4CommandInvoker.cxx. Referenced by ExecuteFromRemote(), SetCommandList(), TGo4CommandInvoker(), and ~TGo4CommandInvoker(). |
|
Definition at line 51 of file TGo4CommandInvoker.cxx. Referenced by Instance(). |
|
Definition at line 53 of file TGo4CommandInvoker.cxx. Referenced by Lookup(), Register(), TGo4CommandInvoker(), UnRegister(), and ~TGo4CommandInvoker(). |
|
Definition at line 50 of file TGo4CommandInvoker.cxx. Referenced by Invoke(), Register(), TGo4CommandInvoker(), UnRegister(), and ~TGo4CommandInvoker(). |