![]() |
VR-Forces Development_Version Class Documentation
|
A DtCigiActiveRegionMappingLogic object provides the logic for a widget that maps active region numbers to activeRegion strings for CIGI active region component control messages. More...

Public Member Functions | |
| DtCigiActiveRegionMappingLogic (DtDe &de, DtCigiActiveRegionMappingInterface *componentMapIf, DtCigiSettingsInterface *settingsIf, DtMapEditorInterface *editorIf, DtPersistenceControlsInterface *toolbarIf) | |
| Constructor. | |
| virtual | ~DtCigiActiveRegionMappingLogic () |
| Destructor. | |
Public Member Functions inherited from makVrv::DtCigiSettingsLogic | |
| DtCigiSettingsLogic (DtDe &de, DtCigiSettingsInterface *settingsIf, DtPersistenceControlsInterface *toolbarIf) | |
| Constructor. | |
| virtual | ~DtCigiSettingsLogic () |
| Destructor. | |
Protected Member Functions | |
| virtual void | updateValues () |
| Updates the GUI from the DtSharedCigiSettings. | |
| virtual void | on_valueAdded (const std::string &key, const std::string &value, int index) |
| Called when a value pair is to be added to the mapping. | |
| virtual void | on_valueDeleted (const std::string &key) |
| Called when a mapping is deleted. | |
| virtual void | on_valueRenamed (const std::string &oldName, const std::string &newName) |
| Called when a mapping is renamed. | |
| virtual void | cigiMappingsRestored (const DtSettingsBackup *s) |
Protected Member Functions inherited from makVrv::DtCigiSettingsLogic | |
| virtual void | on_newSettingsRequested () |
| Called when new settings are added. | |
| virtual void | on_deleteSettingsRequested (const std::string &mapperName) |
| Called when settings are deleted. | |
| virtual void | on_renameSettingsRequested (const std::string &oldName, const std::string &newName) |
| Called when settings are renamed. | |
| virtual void | on_currentSettingsChanged (const std::string &name) |
| Called when the current settings change. | |
| virtual void | on_pageEnabled (bool trueFalse) |
| Called when the page is enabled. | |
| virtual std::string | generateName () const |
| Generates a new name. Used when new settings are created. | |
| virtual void | on_import () |
| Called when import is requested. | |
| virtual void | on_importFilenameChosen (const std::string &name) |
| Called when the user chooses a file to import. | |
| virtual void | on_export () |
| Called when export is requested. | |
| virtual void | on_exportFilenameChosen (const std::string &name) |
| Called when the user chooses a file to import to. | |
| virtual void | on_settingsToBeDeletedExternal (const std::string &name) |
| Called when the settngs manager reports a settings object is to be deleted. | |
| int | stringToInt (const std::string &str) |
| Utility function translates str into an integer. Returns -1 if fails. | |
Protected Attributes | |
| DtCigiActiveRegionMappingInterface & | myMapInterface |
| DtMapEditorInterface & | myEditorInterface |
| QStringList | myPossibleValues |
Protected Attributes inherited from makVrv::DtCigiSettingsLogic | |
| DtDe & | myDe |
| DtCigiSettingsInterface & | mySettingsInterface |
| DtPersistenceControlsInterface & | myToolbarInterface |
| DtSharedCigiSettingsManager & | mySettingsManager |
| DtSignalConnectionManager | myConnectionManager |
A DtCigiActiveRegionMappingLogic object provides the logic for a widget that maps active region numbers to activeRegion strings for CIGI active region component control messages.
| makVrv::DtCigiActiveRegionMappingLogic::DtCigiActiveRegionMappingLogic | ( | DtDe & | de, |
| DtCigiActiveRegionMappingInterface * | componentMapIf, | ||
| DtCigiSettingsInterface * | settingsIf, | ||
| DtMapEditorInterface * | editorIf, | ||
| DtPersistenceControlsInterface * | toolbarIf | ||
| ) |
Constructor.
|
virtual |
Destructor.
|
protectedvirtual |
Updates the GUI from the DtSharedCigiSettings.
Reimplemented from makVrv::DtCigiSettingsLogic.
|
protectedvirtual |
Called when a value pair is to be added to the mapping.
|
protectedvirtual |
Called when a mapping is deleted.
|
protectedvirtual |
Called when a mapping is renamed.
|
protectedvirtual |
|
protected |
|
protected |
|
protected |