GSI Object Oriented Online Offline (Go4) GO4-6.4.0
|
#include <TGo4CommandProtoList.h>
Public Member Functions | |
TGo4CommandProtoList (const char *name) | |
virtual | ~TGo4CommandProtoList () |
void | AddCommand (TGo4Command *com) |
Adds a Command to the list. | |
TGo4Command * | MakeCommand (const char *name) |
Creates a Clone of the specified command by name. | |
TGo4Command * | MakeCommand (TGo4RemoteCommand *remcon) |
Creates command by specifications in remote command. | |
TGo4CommandProtoList & | operator+= (const TGo4CommandProtoList &two) |
Adds second command list to this. | |
void | RemoveCommand (const char *name) |
removes command from list | |
virtual void | ShowCommands () |
Display all commands in list by name and description. | |
Private Member Functions | |
TGo4CommandProtoList () | |
Private Attributes | |
TObjArray * | fxCommandList {nullptr} |
aggregation 1 | |
TMutex * | fxListMutex {nullptr} |
aggregation 1 | |
Definition at line 29 of file TGo4CommandProtoList.h.
TGo4CommandProtoList::TGo4CommandProtoList | ( | const char * | name | ) |
Definition at line 25 of file TGo4CommandProtoList.cxx.
References AddCommand(), fxCommandList, fxListMutex, and GO4TRACE.
Referenced by TGo4TaskHandlerCommandList::TGo4TaskHandlerCommandList(), and operator+=().
|
virtual |
Definition at line 35 of file TGo4CommandProtoList.cxx.
References fxCommandList, fxListMutex, GO4TRACE, and TGo4LockGuard.
|
private |
void TGo4CommandProtoList::AddCommand | ( | TGo4Command * | com | ) |
Adds a Command to the list.
Definition at line 106 of file TGo4CommandProtoList.cxx.
References fxCommandList, fxListMutex, GO4TRACE, and TGo4LockGuard.
Referenced by TGo4AnalysisCommandList::TGo4AnalysisCommandList(), TGo4CommandProtoList(), TGo4ExampleCommandList::TGo4ExampleCommandList(), TGo4TaskHandlerCommandList::TGo4TaskHandlerCommandList(), and operator+=().
TGo4Command * TGo4CommandProtoList::MakeCommand | ( | const char * | name | ) |
Creates a Clone of the specified command by name.
Definition at line 58 of file TGo4CommandProtoList.cxx.
References fxCommandList, fxListMutex, GO4TRACE, and TGo4LockGuard.
Referenced by MakeCommand().
TGo4Command * TGo4CommandProtoList::MakeCommand | ( | TGo4RemoteCommand * | remcon | ) |
Creates command by specifications in remote command.
Definition at line 76 of file TGo4CommandProtoList.cxx.
References TGo4RemoteCommand::GetCommandName(), MakeCommand(), and TGo4Command::Set().
TGo4CommandProtoList & TGo4CommandProtoList::operator+= | ( | const TGo4CommandProtoList & | two | ) |
Adds second command list to this.
Definition at line 120 of file TGo4CommandProtoList.cxx.
References TGo4CommandProtoList(), AddCommand(), fxCommandList, fxListMutex, and TGo4LockGuard.
void TGo4CommandProtoList::RemoveCommand | ( | const char * | name | ) |
removes command from list
Definition at line 86 of file TGo4CommandProtoList.cxx.
References fxCommandList, fxListMutex, GO4TRACE, and TGo4LockGuard.
|
virtual |
Display all commands in list by name and description.
Definition at line 46 of file TGo4CommandProtoList.cxx.
References TGo4Log::Debug(), fxCommandList, fxListMutex, GO4TRACE, and TGo4LockGuard.
|
private |
aggregation 1
Definition at line 59 of file TGo4CommandProtoList.h.
Referenced by TGo4CommandProtoList(), ~TGo4CommandProtoList(), AddCommand(), MakeCommand(), operator+=(), RemoveCommand(), and ShowCommands().
|
private |
aggregation 1
Definition at line 63 of file TGo4CommandProtoList.h.
Referenced by TGo4CommandProtoList(), ~TGo4CommandProtoList(), AddCommand(), MakeCommand(), operator+=(), RemoveCommand(), and ShowCommands().