![]() |
VR-Forces 5.0.2 Developer's Guide
|
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 DtSimObjectDecorator * | createDecorator (const std::string &Decorator, const DtSimObject *) |
| virtual DtLocalObjectDecorator * | createDecorator (const std::string &Decorator, DtLocalObject *) |
Static Public Member Functions | |
| static DtDecoratorFactory * | instance () |
Protected Types | |
| typedef std::map< std::string, DtDecoratorCreator * > | DecoratorCreators |
Protected Attributes | |
| DecoratorCreators | myDecoratorCreators |
Private Member Functions | |
| DtDecoratorFactory (const DtDecoratorFactory &) | |
| DtDecoratorFactory & | operator= (const DtDecoratorFactory &) |
|
protected |
|
private |
| DtDecoratorFactory::DtDecoratorFactory | ( | ) |
CTOR.
|
virtual |
DTOR.
|
private |
|
static |
Returns the static instance of this factory.
|
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 |
Creates the proxy logic for the DtSimObject given the proxy logic name.
|
virtual |
Creates the proxy logic for the DtLocalObject given the proxy logic name.
|
protected |