16 #include "Riostream.h"
22 {
"NOMODE",
"Observer",
"Controller",
"Administrator"};
26 TNamed(name,
"This is a TGo4Command")
28 GO4TRACE((12,
"TGo4Command::TGo4Command(const char* name, const char* description, Int_t id)", __LINE__, __FILE__));
44 GO4TRACE((12,
"TGo4Command::TGo4Command()", __LINE__, __FILE__));
60 GO4TRACE((12,
"TGo4Command::~TGo4Command()", __LINE__, __FILE__));
65 GO4TRACE((10,
"Int_t TGo4Command::GetCommandID() const ", __LINE__, __FILE__));
71 GO4TRACE((10,
"void TGo4Command::Help()", __LINE__, __FILE__));
76 GO4TRACE((10,
"Bool_t TGo4Command::IsEnabled() const", __LINE__, __FILE__));
82 GO4TRACE((10,
"Bool_t TGo4Command::IsExclusive() const", __LINE__, __FILE__));
88 GO4TRACE((10,
"const char * TGo4Command::GetReceiverName()", __LINE__, __FILE__));
94 GO4TRACE((10,
"void TGo4Command::SetReceiverName(const char*)", __LINE__, __FILE__));
100 GO4TRACE((10,
"const char * TGo4Command::GetTaskName()", __LINE__, __FILE__));
106 GO4TRACE((10,
"void TGo4Command::SetTaskName(const char*)", __LINE__, __FILE__));
112 GO4TRACE((10,
"void TGo4Command::SetDescription(const char*)", __LINE__, __FILE__));
117 GO4TRACE((10,
"const char * TGo4Command::What()", __LINE__, __FILE__));
123 GO4TRACE((10,
"Int_t TGo4Command::ExeCom()", __LINE__, __FILE__));
124 std::cout <<
What() << std::endl;
137 GO4TRACE((10,
"Bool_t TGo4Command::Log(Int_t mode)", __LINE__, __FILE__));
140 std::cout <<
What() << std::endl;
150 GO4TRACE((10,
"Bool_t TGo4Command::IsSynchron() const", __LINE__, __FILE__));
162 GO4TRACE((12,
"void TGo4Command::SetReceiver(TGo4CommandReceiver * rec)", __LINE__, __FILE__));
169 if(mode<0 || mode>3)
return 0;
void SetReceiverName(const char *)
virtual void Set(TGo4RemoteCommand *remcon)
Bool_t IsSynchron() const
Go4CommandMode_t fiProtection
TGo4CommandReceiver * fxReceiverBase
void SetTaskName(const char *)
Int_t GetCommandID() const
const char * GetTaskName() const
const char * GetReceiverName() const
static void Warn(const char *text,...)
Bool_t IsExclusive() const
virtual void SetReceiver(TGo4CommandReceiver *rec)
virtual Bool_t Log(Int_t mode=0)
void SetDescription(const char *)
Go4CommandMode_t GetMode()
const char * What() const
static const char * GetModeDescription(Go4CommandMode_t mode)
virtual Int_t RefuseCom()
static const char * fgcMODEDESCRIPTION[]