18 #include "TObjArray.h"
21 #include "TGo4LockGuard.h"
55 GO4TRACE((12,
"TGo4CommandInvoker::TGo4CommandInvoker()", __LINE__, __FILE__));
65 GO4TRACE((12,
"TGo4CommandInvoker::~TGo4CommandInvoker()", __LINE__, __FILE__));
76 GO4TRACE((10,
"TGo4CommandInvoker * TGo4CommandInvoker::Instance()", __LINE__, __FILE__));
84 GO4TRACE((12,
"static void TGo4CommandInvoker::Register(const char* name, TGo4CommandReceiver *p)", __LINE__, __FILE__));
91 GO4TRACE((12,
"static void TGo4CommandInvoker::UnRegister(TGo4CommandReceiver *p)", __LINE__, __FILE__));
96 while((ob=riter())!=0) {
99 TGo4Log::Error(
"NEVER COME HERE: TGo4CommandInvoker::UnRegister - receiver list with no receiver");
115 GO4TRACE((10,
"static TGo4CommandReceiver * TGo4CommandInvoker::Lookup(const char* name)", __LINE__, __FILE__));
123 GO4TRACE((12,
"void TGo4CommandInvoker::Invoke(TGo4Command * com)", __LINE__, __FILE__));
140 GO4TRACE((12,
"void TGo4CommandInvoker::Invoke()", __LINE__, __FILE__));
TGo4Pair(const char *name, TGo4CommandReceiver *p)
Go4CommandMode_t GetProtection()
TGo4CommandReceiver * fxReceiver
static TGo4CommandInvoker * fxInstance
static void SetCommandList(TGo4CommandProtoList *list)
static void UnRegister(TGo4CommandReceiver *p)
void SetTaskName(const char *)
const char * GetTaskName() const
static TGo4CommandProtoList * fxCommandList
const char * GetReceiverName() const
virtual const char * GetName() const
static void Register(const char *name, TGo4CommandReceiver *p)
virtual void SetReceiver(TGo4CommandReceiver *rec)
TGo4CommandReceiver * GetReceiver() const
virtual ~TGo4CommandInvoker()
static TGo4CommandReceiver * Lookup(const char *name)
Int_t ExecuteFromRemote(TGo4RemoteCommand *remcom)
static TGo4CommandInvoker * Instance()
static TObjArray * fxArray
TGo4Command * MakeCommand(const char *name)
Go4CommandMode_t GetMode()
void SetMode(Go4CommandMode_t m)
virtual Int_t RefuseCom()
static void Error(const char *text,...)
static void Debug(const char *text,...)