![]() |
VR-Forces Developer's Guide
|

Public Member Functions | |
| void | registerWidgetCreator (DtVisualizerAttributeWidgetCreator *creator) |
| void | registerDefaultWidgetCreator (DtVisualizerAttributeWidgetCreator *creator) |
| DtVisualizerAttributeWidget * | createWidget (const DtVisualizerAttribute::TypeInfo &info, QWidget *parent) const |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| virtual | ~DtVirtualBaseClass () |
Static Public Member Functions | |
| static DtVisualizerAttributeWidgetFactory & | instance (DtDe &) |
Protected Types | |
| typedef boost::unordered_map < std::string, DtVisualizerAttributeWidgetCreator * > | CreatorMap |
Protected Member Functions | |
| DtVisualizerAttributeWidgetFactory (DtDe &) | |
| ~DtVisualizerAttributeWidgetFactory () | |
Protected Attributes | |
| DtDe & | myDe |
| DtVisualizerAttributeWidgetCreator * | myDefaultCreator |
| CreatorMap | myMap |
|
protected |
|
protected |
CTOR.
|
protected |
DTOR.
|
static |
Get an instance of the factory.
| void makVrv::DtVisualizerAttributeWidgetFactory::registerWidgetCreator | ( | DtVisualizerAttributeWidgetCreator * | creator | ) |
Register a new widget creator.
| void makVrv::DtVisualizerAttributeWidgetFactory::registerDefaultWidgetCreator | ( | DtVisualizerAttributeWidgetCreator * | creator | ) |
Register the default widget creator for attributes which do not have a specific type registered.
| DtVisualizerAttributeWidget* makVrv::DtVisualizerAttributeWidgetFactory::createWidget | ( | const DtVisualizerAttribute::TypeInfo & | info, |
| QWidget * | parent | ||
| ) | const |
Create a widget for the given visualizer attribute type. Throws DtCorruptedState if unable to create a widget.
|
protected |
|
protected |
|
protected |