![]() |
VR-Forces 4.0.4 Class Documentation
|
A DtCigiComponentMappingLogic provides the logic for a widget that maps component ID's to components. More...

Public Member Functions | |
| DtCigiComponentMappingLogic (makArchives::DtCigiComponentClass compClass, DtDe &de, DtCigiComponentMappingInterface *componentMapIf, DtCigiSettingsInterface *settingsIf, DtMapEditorInterface *editorIf, DtPersistenceControlsInterface *toolbarIf) | |
| Constructor. | |
| virtual | ~DtCigiComponentMappingLogic () |
| Destructor. | |
Protected Member Functions | |
| virtual void | updateValues () |
| Update the values in the GUI from the shared settings. | |
| virtual void | on_valueAdded (const std::string &key, const std::string &value, int index) |
| Called when a new mapping is added. | |
| virtual void | on_valueDeleted (const std::string &key) |
| Called when a mapping is removed. | |
| virtual void | on_valueRenamed (const std::string &oldName, const std::string &newName) |
| Called when the component ID is changed for a mapping. | |
| virtual void | cigiMappingsRestored (const DtSettingsBackup *s) |
Protected Attributes | |
| DtCigiComponentMappingInterface & | myMapInterface |
| DtMapEditorInterface & | myEditorInterface |
| makArchives::DtCigiComponentClass | myComponentClass |
A DtCigiComponentMappingLogic provides the logic for a widget that maps component ID's to components.
This class takes a component class parameter, which describes what type of component it maps (i.e. Entity, System, View)
| makVrv::DtCigiComponentMappingLogic::DtCigiComponentMappingLogic | ( | makArchives::DtCigiComponentClass | compClass, |
| DtDe & | de, | ||
| DtCigiComponentMappingInterface * | componentMapIf, | ||
| DtCigiSettingsInterface * | settingsIf, | ||
| DtMapEditorInterface * | editorIf, | ||
| DtPersistenceControlsInterface * | toolbarIf | ||
| ) |
Constructor.
| virtual makVrv::DtCigiComponentMappingLogic::~DtCigiComponentMappingLogic | ( | ) | [virtual] |
Destructor.
| virtual void makVrv::DtCigiComponentMappingLogic::updateValues | ( | ) | [protected, virtual] |
Update the values in the GUI from the shared settings.
Reimplemented from makVrv::DtCigiSettingsLogic.
| virtual void makVrv::DtCigiComponentMappingLogic::on_valueAdded | ( | const std::string & | key, |
| const std::string & | value, | ||
| int | index | ||
| ) | [protected, virtual] |
Called when a new mapping is added.
| virtual void makVrv::DtCigiComponentMappingLogic::on_valueDeleted | ( | const std::string & | key | ) | [protected, virtual] |
Called when a mapping is removed.
| virtual void makVrv::DtCigiComponentMappingLogic::on_valueRenamed | ( | const std::string & | oldName, |
| const std::string & | newName | ||
| ) | [protected, virtual] |
Called when the component ID is changed for a mapping.
| virtual void makVrv::DtCigiComponentMappingLogic::cigiMappingsRestored | ( | const DtSettingsBackup * | s | ) | [protected, virtual] |