v2.10-0 (21000JUN2005)

Go4CommandsBase
Class TGo4CommandProtoList

Direct Known Subclasses:
TGo4TaskHandlerCommandList

class TGo4CommandProtoList
derived from TNamed


Field Summary
 private TObjArray*fxCommandList
           
 private TIterator*fxIterator
           
 private TMutex*fxListMutex
           

Fields inherited from class TNamed
fName, fTitle

Constructor Summary
 TGo4CommandProtoList(const char * name)
           
 private TGo4CommandProtoList()
           

Destructor Summary
 virtual synchronized ~TGo4CommandProtoList()
           

Method Summary
 voidAddCommand(TGo4Command* com)
          Adds a Command to the list
 TGo4Command*MakeCommand(const char * name)
          Creates a Clone of the specified command by name
 synchronized TGo4CommandProtoList&operator+=(const TGo4CommandProtoList& two)
          Adds second command list to this
 voidRemoveCommand(const char * name)
          removes command from list
 virtual voidShowCommands()
          Display all commands in list by name and description

Methods inherited from class TNamed
operator=, Clear, Clone, Compare, Copy, FillBuffer, GetName, GetTitle, Hash, IsSortable, SetName, SetNameTitle, SetTitle, ls, Print, Sizeof, Class, Class_Name, Class_Version, Dictionary, IsA, ShowMembers, Streamer, StreamerNVirtual, DeclFileName, ImplFileLine, ImplFileName, DeclFileLine

Field Detail

fxCommandList

private TObjArray* fxCommandList
supplierCardinality 1
link aggregation

fxIterator

private TIterator* fxIterator
supplierCardinality 1
link aggregation

fxListMutex

private TMutex* fxListMutex
supplierCardinality 1
link aggregation
Constructor Detail

TGo4CommandProtoList

public TGo4CommandProtoList(const char * name)

TGo4CommandProtoList

private TGo4CommandProtoList()
Method Detail

~TGo4CommandProtoList

public virtual synchronized ~TGo4CommandProtoList()
Method Detail

AddCommand

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

MakeCommand

public TGo4Command* MakeCommand(const char * name)
Creates a Clone of the specified command by name

operator+=

public synchronized TGo4CommandProtoList& operator+=(const TGo4CommandProtoList& two)
Adds second command list to this

RemoveCommand

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

ShowCommands

public virtual void ShowCommands()
Display all commands in list by name and description

Association Links

to Class TObjArray

Supplier Cardinality 1
Type aggregation

to Class TMutex

Supplier Cardinality 1
Type aggregation

to Class TIterator

Supplier Cardinality 1
Type aggregation

J.Adamczewski, M.Al-Turany, D.Bertini, H.G.Essel, S.Linev

30-06-2005