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

#include <TGo4CommandProtoList.h>

Inheritance diagram for TGo4CommandProtoList:

Public Member Functions

 TGo4CommandProtoList (const char *name)
 TGo4CommandProtoList (const char *name)
virtual ~TGo4CommandProtoList ()
virtual ~TGo4CommandProtoList ()
void AddCommand (TGo4Command *com)
 Adds a Command to the list.
void AddCommand (TGo4Command *com)
 Adds a Command to the list.
TGo4CommandMakeCommand (const char *name)
 Creates a Clone of the specified command by name.
TGo4CommandMakeCommand (const char *name)
 Creates a Clone of the specified command by name.
TGo4CommandMakeCommand (TGo4RemoteCommand *remcon)
 Creates command by specifications in remote command.
TGo4CommandMakeCommand (TGo4RemoteCommand *remcon)
 Creates command by specifications in remote command.
TGo4CommandProtoListoperator+= (const TGo4CommandProtoList &two)
 Adds second command list to this.
TGo4CommandProtoListoperator+= (const TGo4CommandProtoList &two)
 Adds second command list to this.
void RemoveCommand (const char *name)
 removes command from list
void RemoveCommand (const char *name)
 removes command from list
virtual void ShowCommands ()
 Display all commands in list by name and description.
virtual void ShowCommands ()
 Display all commands in list by name and description.

Private Member Functions

 TGo4CommandProtoList ()
 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/4]

TGo4CommandProtoList::TGo4CommandProtoList ( const char * name)

◆ ~TGo4CommandProtoList() [1/2]

TGo4CommandProtoList::~TGo4CommandProtoList ( )
virtual

Definition at line 35 of file TGo4CommandProtoList.cxx.

References fxCommandList, fxListMutex, GO4TRACE, and TGo4LockGuard.

◆ TGo4CommandProtoList() [2/4]

TGo4CommandProtoList::TGo4CommandProtoList ( )
private

◆ TGo4CommandProtoList() [3/4]

TGo4CommandProtoList::TGo4CommandProtoList ( const char * name)

◆ ~TGo4CommandProtoList() [2/2]

virtual TGo4CommandProtoList::~TGo4CommandProtoList ( )
virtual

◆ TGo4CommandProtoList() [4/4]

TGo4CommandProtoList::TGo4CommandProtoList ( )
private

References fxCommandList.

Member Function Documentation

◆ AddCommand() [1/2]

◆ AddCommand() [2/2]

void TGo4CommandProtoList::AddCommand ( TGo4Command * com)

Adds a Command to the list.

◆ MakeCommand() [1/4]

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/4]

TGo4Command * TGo4CommandProtoList::MakeCommand ( const char * name)

Creates a Clone of the specified command by name.

◆ MakeCommand() [3/4]

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

◆ MakeCommand() [4/4]

TGo4Command * TGo4CommandProtoList::MakeCommand ( TGo4RemoteCommand * remcon)

Creates command by specifications in remote command.

◆ operator+=() [1/2]

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.

◆ operator+=() [2/2]

TGo4CommandProtoList & TGo4CommandProtoList::operator+= ( const TGo4CommandProtoList & two)

Adds second command list to this.

References TGo4CommandProtoList().

◆ RemoveCommand() [1/2]

void TGo4CommandProtoList::RemoveCommand ( const char * name)

removes command from list

Definition at line 86 of file TGo4CommandProtoList.cxx.

References fxCommandList, fxListMutex, GO4TRACE, and TGo4LockGuard.

◆ RemoveCommand() [2/2]

void TGo4CommandProtoList::RemoveCommand ( const char * name)

removes command from list

◆ ShowCommands() [1/2]

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.

◆ ShowCommands() [2/2]

virtual void TGo4CommandProtoList::ShowCommands ( )
virtual

Display all commands in list by name and description.

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: