VR-Forces 5.0.2 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 | Protected Types | Protected Attributes | Private Member Functions
DtDecoratorFactory Class Reference

The DtDecoratorFactory is a container for the creators for proxy logics (DtSimObject or DtLocalObject). See DtDecorator for more information.

Public Member Functions

 DtDecoratorFactory ()
 
virtual ~DtDecoratorFactory ()
 
virtual bool addDecoratorCreator (DtDecoratorCreator *)
 
virtual DtSimObjectDecoratorcreateDecorator (const std::string &Decorator, const DtSimObject *)
 
virtual DtLocalObjectDecoratorcreateDecorator (const std::string &Decorator, DtLocalObject *)
 

Static Public Member Functions

static DtDecoratorFactoryinstance ()
 

Protected Types

typedef std::map< std::string,
DtDecoratorCreator * > 
DecoratorCreators
 

Protected Attributes

DecoratorCreators myDecoratorCreators
 

Private Member Functions

 DtDecoratorFactory (const DtDecoratorFactory &)
 
DtDecoratorFactoryoperator= (const DtDecoratorFactory &)
 

Member Typedef Documentation

typedef std::map<std::string, DtDecoratorCreator*> DtDecoratorFactory::DecoratorCreators
protected

Constructor & Destructor Documentation

DtDecoratorFactory::DtDecoratorFactory ( const DtDecoratorFactory )
private
DtDecoratorFactory::DtDecoratorFactory ( )

CTOR.

virtual DtDecoratorFactory::~DtDecoratorFactory ( )
virtual

DTOR.

Member Function Documentation

DtDecoratorFactory& DtDecoratorFactory::operator= ( const DtDecoratorFactory )
private
static DtDecoratorFactory* DtDecoratorFactory::instance ( )
static

Returns the static instance of this factory.

virtual bool DtDecoratorFactory::addDecoratorCreator ( DtDecoratorCreator )
virtual

This class takes ownership of the memory. If a proxy logic with the name exists will delete old creator and replace with new.

virtual DtSimObjectDecorator* DtDecoratorFactory::createDecorator ( const std::string &  Decorator,
const DtSimObject  
)
virtual

Creates the proxy logic for the DtSimObject given the proxy logic name.

virtual DtLocalObjectDecorator* DtDecoratorFactory::createDecorator ( const std::string &  Decorator,
DtLocalObject  
)
virtual

Creates the proxy logic for the DtLocalObject given the proxy logic name.

Member Data Documentation

DecoratorCreators DtDecoratorFactory::myDecoratorCreators
protected

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

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)