40 TGo4Command(
const char *name,
const char *description, Int_t
id);
50 virtual Bool_t
Log(Int_t mode = 0);
Go4CommandMode_t
These values define command execution rights.
@ kGo4ComModeAdministrator
This is the Go4 Abstract Command Class; part of the Base command pattern.
TGo4Command(const char *name, const char *description, Int_t id)
virtual Int_t RefuseCom()
Optional action if command is not allowed (warning message e.g.).
void SetProtection(Go4CommandMode_t m)
const char * What() const
Bool_t IsExclusive() const
Bool_t IsSynchron() const
void SetDescription(const char *)
Go4CommandMode_t GetProtection() const
void SetMode(Go4CommandMode_t m)
static const char * fgcMODEDESCRIPTION[]
resolve description of command modes here
void SetReceiverName(const char *)
Go4CommandMode_t fiProtection
Execute protection of this command.
virtual void Set(TGo4RemoteCommand *remcon)
Set internals of this command from specification of external remote command (command container).
const char * GetTaskName() const
static const char * GetModeDescription(Go4CommandMode_t mode)
text description of current execution mode
Go4CommandMode_t GetMode() const
Go4CommandMode_t fiMode
mode value for execution rights of sending task
void SetTaskName(const char *)
TGo4CommandReceiver * fxReceiverBase
virtual Bool_t Log(Int_t mode=0)
virtual void SetReceiver(TGo4CommandReceiver *rec)
const char * GetReceiverName() const
Int_t GetCommandID() const
virtual Int_t ExeCom()
Do the command action.
This command is a container for commands to be send from master to slave via inter-process transport.
Go4CommandMode_t
These values define command execution rights.