VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions
DtDefaultSimCommandExecutorFactory Class Reference

Default version of DtSimCommandExecutorFactory that registers all the DtSimCommandExecutor instances that ship with VR-Forces. More...

Inheritance diagram for DtDefaultSimCommandExecutorFactory:
Inheritance graph
[legend]

Public Member Functions

 DtDefaultSimCommandExecutorFactory ()
- Public Member Functions inherited from DtSimCommandExecutorFactory
 DtSimCommandExecutorFactory ()
 default constructor
virtual ~DtSimCommandExecutorFactory ()
 destructor
virtual void addCreatorFcn (const DtSimCommandMessageType &type, DtSimCommandExecutorCreatorFcn fcn)
 Add a creator function to the factory.
virtual void removeCreatorFcn (const DtSimCommandMessageType &type, DtSimCommandExecutorCreatorFcn fcn)
 Remove an entry from the factory.
virtual void registerDefaultCreatorFcn (DtSimCommandExecutorCreatorFcn fcn)
 Sets the default executor creator function which will be used when no specific creator function has been registered.
virtual DtSimCommandExecutorcreateSimCommandExecutor (const DtSimCommandMessageType &type, DtSimManager *simManager) const
 Create a new instance of an executor and return it.

Static Public Member Functions

static void registerCreators (DtSimCommandExecutorFactory *factory)
 Registers all the default DtSimCommandExecutor creators for VR-Forces.
static
DtSimCommandExecutorFactory
create ()

Additional Inherited Members

- Protected Types inherited from DtSimCommandExecutorFactory
typedef std::map
< DtSimCommandMessageType,
DtSimCommandExecutorCreatorFcn
DtCreatorMap
- Protected Attributes inherited from DtSimCommandExecutorFactory
DtCreatorMap myCreatorMap
DtSimCommandExecutorCreatorFcn myDefaultCreator

Detailed Description

Default version of DtSimCommandExecutorFactory that registers all the DtSimCommandExecutor instances that ship with VR-Forces.

Constructor & Destructor Documentation

DtDefaultSimCommandExecutorFactory::DtDefaultSimCommandExecutorFactory ( )

Member Function Documentation

static void DtDefaultSimCommandExecutorFactory::registerCreators ( DtSimCommandExecutorFactory factory)
static

Registers all the default DtSimCommandExecutor creators for VR-Forces.

Non-virtual since it is called from the constructor.

static DtSimCommandExecutorFactory* DtDefaultSimCommandExecutorFactory::create ( )
static
Returns
a new instance of this class.

Reimplemented from DtSimCommandExecutorFactory.


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

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)