Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

TGo4CommandProtoList Class Reference

#include <TGo4CommandProtoList.h>

Inheritance diagram for TGo4CommandProtoList:

TGo4TaskHandlerCommandList TGo4AnalysisCommandList TGo4ExampleCommandList List of all members.

Public Member Functions

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

Private Member Functions

 TGo4CommandProtoList ()

Private Attributes

TObjArray * fxCommandList
 1
TMutex * fxListMutex
 1

Constructor & Destructor Documentation

TGo4CommandProtoList::TGo4CommandProtoList const char *  name  ) 
 

Definition at line 27 of file TGo4CommandProtoList.cxx.

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

TGo4CommandProtoList::~TGo4CommandProtoList  )  [virtual]
 

Definition at line 37 of file TGo4CommandProtoList.cxx.

References fxCommandList, fxListMutex, and TRACE.

TGo4CommandProtoList::TGo4CommandProtoList  )  [private]
 


Member Function Documentation

void TGo4CommandProtoList::ShowCommands  )  [virtual]
 

Display all commands in list by name and description.

Definition at line 48 of file TGo4CommandProtoList.cxx.

References TGo4Log::Debug(), fxCommandList, fxListMutex, TRACE, and TGo4Command::What().

TGo4Command * TGo4CommandProtoList::MakeCommand const char *  name  ) 
 

Creates a Clone of the specified command by name.

Definition at line 65 of file TGo4CommandProtoList.cxx.

References fxCommandList, fxListMutex, and TRACE.

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

TGo4Command * TGo4CommandProtoList::MakeCommand TGo4RemoteCommand remcon  ) 
 

Creates command by specifications in remote command.

Definition at line 91 of file TGo4CommandProtoList.cxx.

References TGo4RemoteCommand::GetCommandName(), MakeCommand(), and TGo4Command::Set().

void TGo4CommandProtoList::RemoveCommand const char *  name  ) 
 

removes command from list

Definition at line 101 of file TGo4CommandProtoList.cxx.

References fxCommandList, fxListMutex, and TRACE.

void TGo4CommandProtoList::AddCommand TGo4Command com  ) 
 

Adds a Command to the list.

Definition at line 126 of file TGo4CommandProtoList.cxx.

References fxCommandList, fxListMutex, and TRACE.

Referenced by TGo4Task::AddUserCommand(), operator+=(), TGo4AnalysisCommandList::TGo4AnalysisCommandList(), TGo4CommandProtoList(), TGo4ExampleCommandList::TGo4ExampleCommandList(), and TGo4TaskHandlerCommandList::TGo4TaskHandlerCommandList().

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

Adds second command list to this.

Definition at line 146 of file TGo4CommandProtoList.cxx.

References AddCommand(), fxCommandList, and fxListMutex.


Member Data Documentation

TObjArray* TGo4CommandProtoList::fxCommandList [private]
 

1

Definition at line 61 of file TGo4CommandProtoList.h.

Referenced by AddCommand(), MakeCommand(), operator+=(), RemoveCommand(), ShowCommands(), TGo4CommandProtoList(), and ~TGo4CommandProtoList().

TMutex* TGo4CommandProtoList::fxListMutex [private]
 

1

Definition at line 65 of file TGo4CommandProtoList.h.

Referenced by AddCommand(), MakeCommand(), operator+=(), RemoveCommand(), ShowCommands(), TGo4CommandProtoList(), and ~TGo4CommandProtoList().


The documentation for this class was generated from the following files:
Generated on Fri Nov 28 13:00:44 2008 for Go4-v3.04-1 by  doxygen 1.4.2