Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

TGo4CommandProtoList Class Reference

#include <TGo4CommandProtoList.h>

Inheritance diagram for TGo4CommandProtoList:

TGo4TaskHandlerCommandList TGo4AnalysisCommandList TGo4ExampleCommandList List of all members.

Public Methods

 TGo4CommandProtoList (const char *name)
virtual ~TGo4CommandProtoList ()
virtual void ShowCommands ()
 Display all commands in list by name and description. More...

TGo4CommandMakeCommand (const char *name)
 Creates a Clone of the specified command by name. More...

void RemoveCommand (const char *name)
 removes command from list. More...

void AddCommand (TGo4Command *com)
 Adds a Command to the list. More...

TGo4CommandProtoList & operator+= (const TGo4CommandProtoList &two)
 Adds second command list to this. More...


Private Methods

 TGo4CommandProtoList ()

Private Attributes

TObjArray * fxCommandList
  More...

TMutex * fxListMutex
  More...

TIterator * fxIterator
  More...


Constructor & Destructor Documentation

TGo4CommandProtoList::TGo4CommandProtoList const char *    name
 

Definition at line 25 of file TGo4CommandProtoList.cxx.

References fxCommandList, fxIterator, fxListMutex, and TRACE.

TGo4CommandProtoList::~TGo4CommandProtoList   [virtual]
 

Definition at line 39 of file TGo4CommandProtoList.cxx.

References fxCommandList, fxIterator, 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 51 of file TGo4CommandProtoList.cxx.

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

TGo4Command * TGo4CommandProtoList::MakeCommand const char *    name
 

Creates a Clone of the specified command by name.

Definition at line 68 of file TGo4CommandProtoList.cxx.

References fxCommandList, fxListMutex, and TRACE.

Referenced by TGo4Task::MakeCommand().

void TGo4CommandProtoList::RemoveCommand const char *    name
 

removes command from list.

Definition at line 94 of file TGo4CommandProtoList.cxx.

References fxCommandList, fxListMutex, and TRACE.

void TGo4CommandProtoList::AddCommand TGo4Command   com
 

Adds a Command to the list.

Definition at line 119 of file TGo4CommandProtoList.cxx.

References fxCommandList, fxListMutex, and TRACE.

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

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

Adds second command list to this.

Definition at line 139 of file TGo4CommandProtoList.cxx.

References AddCommand(), fxCommandList, and fxListMutex.


Member Data Documentation

TObjArray* TGo4CommandProtoList::fxCommandList [private]
 

Definition at line 67 of file TGo4CommandProtoList.h.

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

TMutex* TGo4CommandProtoList::fxListMutex [private]
 

Definition at line 71 of file TGo4CommandProtoList.h.

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

TIterator* TGo4CommandProtoList::fxIterator [private]
 

Definition at line 75 of file TGo4CommandProtoList.h.

Referenced by ShowCommands(), TGo4CommandProtoList(), and ~TGo4CommandProtoList().


The documentation for this class was generated from the following files:
Generated on Tue Nov 8 10:56:32 2005 for Go4-v2.10-5 by doxygen1.2.15