VR-Forces 4.1 Class Documentation
List of all members | Public Member Functions | Static Public Member Functions | Protected Attributes
DtSimCommandFactory Class Reference

DtSimCommandFactory is a hashlist of DtTaskFactoryEntrys, indexed by the string type that represents the type of command to create. More...

Inheritance diagram for DtSimCommandFactory:
Inheritance graph
[legend]

Public Member Functions

 DtSimCommandFactory ()
 constructor
 DtSimCommandFactory (const DtSimCommandFactory &orig)
 copy constructor
const DtSimCommandFactoryoperator= (const DtSimCommandFactory &orig)
 assignment operator
virtual ~DtSimCommandFactory ()
 Destructor: deletes factory and any entries on the factory.
virtual void addCreatorFcn (const DtSimCommandMessageType &type, DtSimCommandCreatorFcn fcn)
 Add a creator function to the factory.
virtual DtSimCommandcreateSimCommand (const DtSimCommandMessageType &type)
virtual bool isTypeRegistered (const DtSimCommandMessageType &type)

Static Public Member Functions

static DtSimCommandFactorycreate ()

Protected Attributes

std::map
< DtSimCommandMessageType,
DtSimCommandFactoryEntry
myCreatorMap

Detailed Description

DtSimCommandFactory is a hashlist of DtTaskFactoryEntrys, indexed by the string type that represents the type of command to create.

Constructor & Destructor Documentation

DtSimCommandFactory::DtSimCommandFactory ( )

constructor

DtSimCommandFactory::DtSimCommandFactory ( const DtSimCommandFactory orig)

copy constructor

virtual DtSimCommandFactory::~DtSimCommandFactory ( )
virtual

Destructor: deletes factory and any entries on the factory.

Member Function Documentation

const DtSimCommandFactory& DtSimCommandFactory::operator= ( const DtSimCommandFactory orig)

assignment operator

virtual void DtSimCommandFactory::addCreatorFcn ( const DtSimCommandMessageType type,
DtSimCommandCreatorFcn  fcn 
)
virtual

Add a creator function to the factory.

virtual DtSimCommand* DtSimCommandFactory::createSimCommand ( const DtSimCommandMessageType type)
virtual
virtual bool DtSimCommandFactory::isTypeRegistered ( const DtSimCommandMessageType type)
virtual
static DtSimCommandFactory* DtSimCommandFactory::create ( )
static

Reimplemented in DtDefaultSimCommandFactory.

Member Data Documentation

std::map<DtSimCommandMessageType, DtSimCommandFactoryEntry> DtSimCommandFactory::myCreatorMap
protected

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

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)