GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TGo4CommandProtoList Class Reference

#include <TGo4CommandProtoList.h>

+ Inheritance diagram for TGo4CommandProtoList:

Public Member Functions

 TGo4CommandProtoList (const char *name)
 
virtual ~TGo4CommandProtoList ()
 
void AddCommand (TGo4Command *com)
 Adds a Command to the list.
 
TGo4CommandMakeCommand (const char *name)
 Creates a Clone of the specified command by name.
 
TGo4CommandMakeCommand (TGo4RemoteCommand *remcon)
 Creates command by specifications in remote command.
 
TGo4CommandProtoListoperator+= (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
 

Detailed Description

Definition at line 29 of file TGo4CommandProtoList.h.

Constructor & Destructor Documentation

◆ TGo4CommandProtoList() [1/2]

TGo4CommandProtoList::TGo4CommandProtoList ( const char * name)

◆ ~TGo4CommandProtoList()

TGo4CommandProtoList::~TGo4CommandProtoList ( )
virtual

Definition at line 35 of file TGo4CommandProtoList.cxx.

References fxCommandList, fxListMutex, GO4TRACE, and TGo4LockGuard.

◆ TGo4CommandProtoList() [2/2]

TGo4CommandProtoList::TGo4CommandProtoList ( )
private

Member Function Documentation

◆ AddCommand()

◆ MakeCommand() [1/2]

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().

◆ MakeCommand() [2/2]

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().

◆ operator+=()

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.

◆ RemoveCommand()

void TGo4CommandProtoList::RemoveCommand ( const char * name)

removes command from list

Definition at line 86 of file TGo4CommandProtoList.cxx.

References fxCommandList, fxListMutex, GO4TRACE, and TGo4LockGuard.

◆ ShowCommands()

void TGo4CommandProtoList::ShowCommands ( )
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.

Field Documentation

◆ fxCommandList

TObjArray* TGo4CommandProtoList::fxCommandList {nullptr}
private

◆ fxListMutex

TMutex* TGo4CommandProtoList::fxListMutex {nullptr}
private

The documentation for this class was generated from the following files: