GSI Object Oriented Online Offline (Go4)  GO4-6.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Member Functions | Private Attributes | List of all members
TGo4CommandProtoList Class Reference

#include <TGo4CommandProtoList.h>

+ Inheritance diagram for TGo4CommandProtoList:

Public Member Functions

 TGo4CommandProtoList (const char *name)
 
virtual ~TGo4CommandProtoList ()
 
virtual void ShowCommands ()
 
TGo4CommandMakeCommand (const char *name)
 
TGo4CommandMakeCommand (TGo4RemoteCommand *remcon)
 
void RemoveCommand (const char *name)
 
void AddCommand (TGo4Command *com)
 
TGo4CommandProtoListoperator+= (const TGo4CommandProtoList &two)
 

Private Member Functions

 TGo4CommandProtoList ()
 

Private Attributes

TObjArray * fxCommandList
 
TMutex * fxListMutex
 

Detailed Description

Definition at line 29 of file TGo4CommandProtoList.h.

Constructor & Destructor Documentation

TGo4CommandProtoList::TGo4CommandProtoList ( const char *  name)

Definition at line 25 of file TGo4CommandProtoList.cxx.

References AddCommand(), fxCommandList, fxListMutex, and GO4TRACE.

TGo4CommandProtoList::~TGo4CommandProtoList ( )
virtual

Definition at line 35 of file TGo4CommandProtoList.cxx.

References fxCommandList, fxListMutex, and GO4TRACE.

TGo4CommandProtoList::TGo4CommandProtoList ( )
private

Member Function Documentation

void TGo4CommandProtoList::AddCommand ( TGo4Command com)
TGo4Command * TGo4CommandProtoList::MakeCommand ( const char *  name)

Creates a Clone of the specified command by name

Definition at line 59 of file TGo4CommandProtoList.cxx.

References fxCommandList, fxListMutex, and GO4TRACE.

Referenced by TGo4CommandInvoker::ExecuteFromRemote(), MakeCommand(), and TGo4Task::MakeCommand().

TGo4Command * TGo4CommandProtoList::MakeCommand ( TGo4RemoteCommand remcon)

Creates command by specifications in remote command

Definition at line 78 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 122 of file TGo4CommandProtoList.cxx.

References AddCommand(), fxCommandList, and fxListMutex.

void TGo4CommandProtoList::RemoveCommand ( const char *  name)

removes command from list

Definition at line 88 of file TGo4CommandProtoList.cxx.

References fxCommandList, fxListMutex, and GO4TRACE.

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 TGo4Command::What().

Member Data Documentation

TObjArray* TGo4CommandProtoList::fxCommandList
private
TMutex* TGo4CommandProtoList::fxListMutex
private

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