Go4CommandsBase
Class TGo4Command
- Direct Known Subclasses:
- TGo4AnalysisCommand, TGo4TaskHandlerCommand, TGo4ExampleCommand
- class TGo4Command
- derived from TNamed
This is the Go4 Abstract Command Class; part of the Base command pattern
Fields inherited from class TNamed |
fName, fTitle |
Methods inherited from class TNamed |
operator=, Clear, Clone, Compare, Copy, FillBuffer, GetName, GetTitle, Hash, IsSortable, SetName, SetNameTitle, SetTitle, ls, Print, Sizeof, Class, Class_Name, Class_Version, Dictionary, IsA, ShowMembers, Streamer, StreamerNVirtual, DeclFileName, ImplFileLine, ImplFileName, DeclFileLine |
fbIsEnabled
protected Bool_t fbIsEnabled
fbIsExclusive
protected Bool_t fbIsExclusive
fbIsLocal
protected Bool_t fbIsLocal
fbIsSynchron
protected Bool_t fbIsSynchron
fgcMODEDESCRIPTION
protected static char * [] fgcMODEDESCRIPTION
- resolve description of command modes here
fiCommandID
protected Int_t fiCommandID
fiMode
protected Go4CommandMode_t fiMode
- mode value for execution rights of sending task
fiProtection
protected Go4CommandMode_t fiProtection
- Execute protection of this command. If Execution mode
is not sufficient, command is not allowed to be executed.
fiVersion
protected Int_t fiVersion
fxDescription
private TString fxDescription
fxReceiverBase
protected TGo4CommandReceiver* fxReceiverBase
fxReceiverName
private TString fxReceiverName
fxTaskName
private TString fxTaskName
TGo4Command
public TGo4Command()
TGo4Command
public TGo4Command(const char * name, const char * description, Int_t id)
~TGo4Command
public virtual synchronized ~TGo4Command()
ExeCom
public virtual Int_t ExeCom()
- Do the command action
GetCommandID
public const Int_t GetCommandID()
GetMode
public Go4CommandMode_t GetMode()
GetModeDescription
public const static const char * GetModeDescription(Go4CommandMode_t mode)
- text description of current execution mode
GetProtection
public Go4CommandMode_t GetProtection()
GetReceiverName
public const const char * GetReceiverName()
GetTaskName
public const const char * GetTaskName()
Help
public virtual void Help()
IsEnabled
public const Bool_t IsEnabled()
IsExclusive
public const Bool_t IsExclusive()
IsLocal
public const Bool_t IsLocal()
IsSynchron
public const Bool_t IsSynchron()
Log
public virtual Bool_t Log(Int_t mode)
RefuseCom
public virtual Int_t RefuseCom()
- Optional action if command is not allowed (warning message e.g.)
SetDescription
public void SetDescription(const char * )
SetMode
public void SetMode(Go4CommandMode_t m)
SetProtection
protected void SetProtection(Go4CommandMode_t m)
SetReceiver
public virtual void SetReceiver(TGo4CommandReceiver* rec)
SetReceiverName
public void SetReceiverName(const char * )
SetTaskName
public void SetTaskName(const char * )
UnExeCom
public virtual Int_t UnExeCom()
- For undo functionality (not yet impl.)
What
public const const char * What()
to Class Go4CommandMode_t- mode value for execution rights of sending task
to Class Go4CommandMode_t
- Execute protection of this command. If Execution mode
is not sufficient, command is not allowed to be executed.
to Class TGo4CommandReceiver
30-06-2005