![]() |
VR-Forces Developer's Guide
|
A DtCigiModelStateMappingLogic object provides the logic for a widget that maps component ID's to model state numbers.

Public Member Functions | |
| DtCigiModelStateMappingLogic (DtDe &de, DtCigiModelStateMappingInterface *componentMapIf, DtCigiSettingsInterface *settingsIf, DtMapEditorInterface *editorIf, DtPersistenceControlsInterface *toolbarIf) | |
| virtual | ~DtCigiModelStateMappingLogic () |
Public Member Functions inherited from makVrv::DtCigiSettingsLogic | |
| DtCigiSettingsLogic (DtDe &de, DtCigiSettingsInterface *settingsIf, DtPersistenceControlsInterface *toolbarIf) | |
| virtual | ~DtCigiSettingsLogic () |
Protected Member Functions | |
| virtual void | updateValues () |
| virtual void | initializeStateStrings () |
| virtual void | on_valueAdded (const std::string &key, const std::string &value, int index) |
| virtual void | on_valueDeleted (const std::string &key) |
| virtual void | on_valueRenamed (const std::string &oldName, const std::string &newName) |
| virtual void | cigiMappingsRestored (const DtSettingsBackup *s) |
Protected Member Functions inherited from makVrv::DtCigiSettingsLogic | |
| virtual void | on_newSettingsRequested () |
| virtual void | on_deleteSettingsRequested (const std::string &mapperName) |
| virtual void | on_renameSettingsRequested (const std::string &oldName, const std::string &newName) |
| virtual void | on_currentSettingsChanged (const std::string &name) |
| virtual void | on_pageEnabled (bool trueFalse) |
| virtual std::string | generateName () const |
| virtual void | on_import () |
| virtual void | on_importFilenameChosen (const std::string &name) |
| virtual void | on_export () |
| virtual void | on_exportFilenameChosen (const std::string &name) |
| virtual void | on_settingsToBeDeletedExternal (const std::string &name) |
| int | stringToInt (const std::string &str) |
Protected Attributes | |
| DtCigiModelStateMappingInterface & | myMapInterface |
| DtMapEditorInterface & | myEditorInterface |
| DtModelSemanticsMapper & | myModelSemanticsMapper |
| QStringList | myStateStrings |
| std::map< int, std::string > | myStateIdToNameMap |
| std::map< std::string, int > | myNameToStateIdMap |
Protected Attributes inherited from makVrv::DtCigiSettingsLogic | |
| DtDe & | myDe |
| DtCigiSettingsInterface & | mySettingsInterface |
| DtPersistenceControlsInterface & | myToolbarInterface |
| DtSharedCigiSettingsManager & | mySettingsManager |
| DtSignalConnectionManager | myConnectionManager |
| makVrv::DtCigiModelStateMappingLogic::DtCigiModelStateMappingLogic | ( | DtDe & | de, |
| DtCigiModelStateMappingInterface * | componentMapIf, | ||
| DtCigiSettingsInterface * | settingsIf, | ||
| DtMapEditorInterface * | editorIf, | ||
| DtPersistenceControlsInterface * | toolbarIf | ||
| ) |
Constructor.
|
virtual |
Destructor.
|
protectedvirtual |
Updates the value in the GUI from the shared settings.
Reimplemented from makVrv::DtCigiSettingsLogic.
|
protectedvirtual |
Initializes the model state names.
|
protectedvirtual |
Called when a new mapping is added.
|
protectedvirtual |
Called when a mapping is removed.
|
protectedvirtual |
Called when a mapping is renamed.
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |