![]() |
VR-Forces 4.10 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. More... | |
| virtual | ~DtCigiComponentMappingLogic () |
| Destructor. More... | |
Public Member Functions inherited from makVrv::DtCigiSettingsLogic | |
| DtCigiSettingsLogic (DtDe &de, DtCigiSettingsInterface *settingsIf, DtPersistenceControlsInterface *toolbarIf) | |
| Constructor. More... | |
| virtual | ~DtCigiSettingsLogic () |
| Destructor. More... | |
Protected Member Functions | |
| virtual void | updateValues () |
| Update the values in the GUI from the shared settings. More... | |
| virtual void | on_valueAdded (const std::string &key, const std::string &value, int index) |
| Called when a new mapping is added. More... | |
| virtual void | on_valueDeleted (const std::string &key) |
| Called when a mapping is removed. More... | |
| virtual void | on_valueRenamed (const std::string &oldName, const std::string &newName) |
| Called when the component ID is changed for a mapping. More... | |
| virtual void | cigiMappingsRestored (const DtSettingsBackup *s) |
Protected Member Functions inherited from makVrv::DtCigiSettingsLogic | |
| virtual void | on_newSettingsRequested () |
| Called when new settings are added. More... | |
| virtual void | on_deleteSettingsRequested (const std::string &mapperName) |
| Called when settings are deleted. More... | |
| virtual void | on_renameSettingsRequested (const std::string &oldName, const std::string &newName) |
| Called when settings are renamed. More... | |
| virtual void | on_currentSettingsChanged (const std::string &name) |
| Called when the current settings change. More... | |
| virtual void | on_pageEnabled (bool trueFalse) |
| Called when the page is enabled. More... | |
| virtual std::string | generateName () const |
| Generates a new name. Used when new settings are created. More... | |
| virtual void | on_import () |
| Called when import is requested. More... | |
| virtual void | on_importFilenameChosen (const std::string &name) |
| Called when the user chooses a file to import. More... | |
| virtual void | on_export () |
| Called when export is requested. More... | |
| virtual void | on_exportFilenameChosen (const std::string &name) |
| Called when the user chooses a file to import to. More... | |
| virtual void | on_settingsToBeDeletedExternal (const std::string &name) |
| Called when the settngs manager reports a settings object is to be deleted. More... | |
| int | stringToInt (const std::string &str) |
| Utility function translates str into an integer. Returns -1 if fails. More... | |
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 |
Destructor.
|
protectedvirtual |
Update the values in the GUI from the shared settings.
Reimplemented from makVrv::DtCigiSettingsLogic.
|
protectedvirtual |
Called when a new mapping is added.
|
protectedvirtual |
Called when a mapping is removed.
|
protectedvirtual |
Called when the component ID is changed for a mapping.
|
protectedvirtual |
|
protected |
|
protected |
|
protected |