![]() |
VR-Forces 4.5 Class Documentation
|
This class provides the logic to handle multiple named CIGI settings, including adding, removing, importing, exporting, renaming, etc. More...

Public Member Functions | |
| DtCigiSettingsLogic (DtDe &de, DtCigiSettingsInterface *settingsIf, DtPersistenceControlsInterface *toolbarIf) | |
| Constructor. | |
| virtual | ~DtCigiSettingsLogic () |
| Destructor. | |
Protected Member Functions | |
| virtual void | updateValues () |
| No-op. Should be overridden. | |
| 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. | |
This class provides the logic to handle multiple named CIGI settings, including adding, removing, importing, exporting, renaming, etc.
them.
| makVrv::DtCigiSettingsLogic::DtCigiSettingsLogic | ( | DtDe & | de, |
| DtCigiSettingsInterface * | settingsIf, | ||
| DtPersistenceControlsInterface * | toolbarIf | ||
| ) |
Constructor.
|
virtual |
Destructor.
|
protectedvirtual |
No-op. Should be overridden.
Reimplemented in makVrv::DtCigiComponentMappingLogic, makVrv::DtCigiEntityMappingLogic, makVrv::DtCigiAnimationMappingLogic, makVrv::DtCigiDatabaseMappingLogic, makVrv::DtCigiModelStateMappingLogic, makVrv::DtCigiActiveRegionMappingLogic, 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 |