![]() |
VR-Forces Developer's Guide
|
This class provides the logic to handle multiple named CIGI settings, including adding, removing, importing, exporting, renaming, etc. them.

Public Member Functions | |
| DtCigiSettingsLogic (DtDe &de, DtCigiSettingsInterface *settingsIf, DtPersistenceControlsInterface *toolbarIf) | |
| virtual | ~DtCigiSettingsLogic () |
Protected Member Functions | |
| virtual void | updateValues () |
| 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) |
| makVrv::DtCigiSettingsLogic::DtCigiSettingsLogic | ( | DtDe & | de, |
| DtCigiSettingsInterface * | settingsIf, | ||
| DtPersistenceControlsInterface * | toolbarIf | ||
| ) |
Constructor.
|
virtual |
Destructor.
|
protectedvirtual |
No-op. Should be overridden.
Reimplemented in makVrv::DtCigiEntityMappingLogic, makVrv::DtCigiComponentMappingLogic, makVrv::DtCigiActiveRegionMappingLogic, makVrv::DtCigiAnimationMappingLogic, makVrv::DtCigiDatabaseMappingLogic, makVrv::DtCigiEnvironmentalConditionMappingLogic, makVrv::DtCigiModelStateMappingLogic, makVrv::DtCigiSensorMappingLogic, makVrv::DtCigiFontMappingLogic, makVrv::DtCigiLightPointGroupMappingLogic, and makVrv::DtCigiObserverModeMappingLogic.
|
protectedvirtual |
Called when new settings are added.
|
protectedvirtual |
Called when settings are deleted.
|
protectedvirtual |
Called when settings are renamed.
|
protectedvirtual |
Called when the current settings change.
Reimplemented in makVrv::DtCigiEntityMappingLogic.
|
protectedvirtual |
Called when the page is enabled.
|
protectedvirtual |
Generates a new name. Used when new settings are created.
|
protectedvirtual |
Called when import is requested.
|
protectedvirtual |
Called when the user chooses a file to import.
|
protectedvirtual |
Called when export is requested.
|
protectedvirtual |
Called when the user chooses a file to import to.
|
protectedvirtual |
Called when the settngs manager reports a settings object is to be deleted. We need this so we can update the persitence toolbar widget's ptr to the settings backup.
|
protected |
Utility function translates str into an integer. Returns -1 if fails.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |