![]() |
VR-Forces 5.0.2 Developer's Guide
|
The visualizer attribute factory takes class name + string value pairs and creates a visualizer attribute.

Classes | |
| class | Creator |
| class | CreatorInterface |
Public Member Functions | |
| virtual | ~DtVisualizerAttributeFactory () |
| virtual DtVisualizerAttribute * | create (const std::string &className) |
| virtual DtVisualizerAttribute * | create (const std::string &className, const DtUnicode &value) |
| virtual void | registerClass (CreatorInterface *creator) |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| virtual | ~DtVirtualBaseClass () |
Static Public Member Functions | |
| static DtVisualizerAttributeFactory & | instance (DtDe &) |
| static void | registerInstance (DtDe &, DtVisualizerAttributeFactory *) |
Protected Types | |
| typedef boost::unordered_map < std::string, CreatorInterface * > | CreatorMap |
Protected Member Functions | |
| DtVisualizerAttributeFactory (DtDe &) | |
Protected Attributes | |
| CreatorMap | myCreators |
| Creator < DtVisualizerAttributeString > | myDefaultCreator |
| DtDe & | myDe |
|
protected |
|
virtual |
Destructor.
|
protected |
|
static |
Get an instance of the factory.
|
static |
Register a new instance of the factory. This only needs to be called to replace the default factory.
|
virtual |
Create an attribute from its class name with default value.
|
virtual |
Create an attribute from its class name and the string representation of its value.
|
virtual |
Register a visualizer attribute type with the factory Transfers ownership of the creator object.
|
protected |
|
protected |
|
protected |