VR-Forces Developer's Guide
 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
DtSimComponentFactory Class Reference

class DtSimComponentFactory:

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

Inheritance diagram for DtSimComponentFactory:
Inheritance graph
[legend]

Public Member Functions

 DtSimComponentFactory ()
 
 DtSimComponentFactory (const DtSimComponentFactory &orig)
 
const DtSimComponentFactoryoperator= (const DtSimComponentFactory &orig)
 
virtual ~DtSimComponentFactory ()
 
virtual void addCreatorFcn (const DtString &type, DtSimComponentCreatorFcn fcn)
 
virtual DtSimComponentcreateComponent (const DtString &name, const DtString &type, DtLocalObject *owner, DtSimulationServices *simServices, DtComponentDescriptor *compDesc, DtReaderWriterRegistry *registry=0)
 

Static Public Member Functions

static DtSimComponentFactorycreate ()
 

Constructor & Destructor Documentation

DtSimComponentFactory::DtSimComponentFactory ( )

constructor

DtSimComponentFactory::DtSimComponentFactory ( const DtSimComponentFactory orig)

copy constructor

virtual DtSimComponentFactory::~DtSimComponentFactory ( )
virtual

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,
DtLocalObject owner,
DtSimulationServices simServices,
DtComponentDescriptor compDesc,
DtReaderWriterRegistry registry = 0 
)
virtual
static DtSimComponentFactory* DtSimComponentFactory::create ( )
static

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

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)