![]() |
VR-Forces 4.3 Class Documentation
|
The visualizer attribute factory takes class name + string value pairs and creates a visualizer attribute. More...

Classes | |
| class | Creator |
| Template attribute creator, provided for convenience. More... | |
| class | CreatorInterface |
| Creator interface for visualizer attributes to register with this factory. More... | |
Public Member Functions | |
| virtual | ~DtVisualizerAttributeFactory () |
| Destructor. | |
| virtual DtVisualizerAttribute * | create (const std::string &className) |
| Create an attribute from its class name with default value. | |
| virtual DtVisualizerAttribute * | create (const std::string &className, const DtUnicode &value) |
| Create an attribute from its class name and the string representation of its value. | |
| virtual void | registerClass (CreatorInterface *creator) |
| Register a visualizer attribute type with the factory Transfers ownership of the creator object. | |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. | |
Static Public Member Functions | |
| static DtVisualizerAttributeFactory & | instance (DtDe &) |
| Get an instance of the factory. | |
| static void | registerInstance (DtDe &, DtVisualizerAttributeFactory *) |
| Register a new instance of the factory. | |
Protected Types | |
| typedef boost::unordered_map < std::string, CreatorInterface * > | CreatorMap |
Protected Member Functions | |
| DtVisualizerAttributeFactory (DtDe &) | |
Protected Attributes | |
| CreatorMap | myCreators |
| Creator < DtVisualizerAttributeString > | myDefaultCreator |
| DtDe & | myDe |
The visualizer attribute factory takes class name + string value pairs and creates a visualizer attribute.
|
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 |