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