VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions
DtSimComponentFactory Class Reference

class DtSimComponentFactory: More...

Inheritance diagram for DtSimComponentFactory:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtSimComponentFactory ()
 constructor
 DtSimComponentFactory (const DtSimComponentFactory &orig)
 copy constructor
const DtSimComponentFactoryoperator= (const DtSimComponentFactory &orig)
 assignment operator
virtual ~DtSimComponentFactory ()
 Destructor: deletes factory and any entries on the factory.
virtual void addCreatorFcn (const DtString &type, DtSimComponentCreatorFcn fcn)
 Add a creator function to the factory.
virtual DtSimComponentcreateComponent (const DtString &name, const DtString &type, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *compDesc, DtReaderWriterRegistry *registry=0)

Static Public Member Functions

static DtSimComponentFactorycreate ()

Detailed Description

class DtSimComponentFactory:

DtSimComponentFactory is a hashlist of DtSimComponentCreatorFcn, indexed by a string type that represents the type of component to create.


Constructor & Destructor Documentation

constructor

copy constructor

Destructor: deletes factory and any entries on the factory.


Member Function Documentation

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

assignment operator

virtual void DtSimComponentFactory::addCreatorFcn ( const DtString type,
DtSimComponentCreatorFcn  fcn 
) [virtual]

Add a creator function to the factory.

virtual DtSimComponent* DtSimComponentFactory::createComponent ( const DtString name,
const DtString type,
DtVrfObject owner,
DtSimManager simManager,
DtComponentDescriptor compDesc,
DtReaderWriterRegistry registry = 0 
) [virtual]

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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)