![]() |
VR-Forces 4.8 Class Documentation
|
A DtCigiEntityMappingLogic object provides the logic for a widget that maps entity types to model definitions and art part ID's to model art part numbers. More...

Public Member Functions | |
| DtCigiEntityMappingLogic (DtDe &de, DtCigiEntityMappingInterface *entMapIf, DtCigiSettingsInterface *settingsIf, DtMapEditorInterface *entTypeIf, DtMapEditorInterface *artPartIf, DtPersistenceControlsInterface *importExportIf) | |
| Constructor. More... | |
| virtual | ~DtCigiEntityMappingLogic () |
| 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 () |
| Updates the GUI from the shared settings. More... | |
| virtual void | updatePossibleValues () |
| Sets the possible values for model definitions. More... | |
| virtual void | rebuildDefinitions () |
| Gets the list of possible model definitions from the shared state. More... | |
| virtual void | updateEntityMappings () |
| Updates the entity mappings portion of the GUI. More... | |
| virtual void | updateArtParts () |
| Update the articulated parts mappings portion of the GUI. More... | |
| virtual void | cigiMappingsRestored (const DtSettingsBackup *s) |
| void | on_deleteEntityTypeValue (const std::string &key) |
| Called when an entity type mappings is removed. More... | |
| void | on_addEntityTypeValue (const std::string &key, const std::string &value, int index) |
| Called when an entity type mapping is added. More... | |
| void | on_renameEntityTypeValue (const std::string &oldName, const std::string &newName) |
| Called when the entity type of a mapping is changed. More... | |
| void | on_newEntityTypeSelected (const std::string &entType) |
| Called when an entity type mapping is selected. More... | |
| void | on_addArtPartValue (const std::string &key, const std::string &value, int index) |
| Called when an art part mapping is added. More... | |
| void | on_renameArtPartValue (const std::string &oldName, const std::string &newName) |
| Called when the art part ID of a mapping is changed. More... | |
| void | on_deleteArtPartValue (const std::string &key) |
| Called when an art part mapping is deleted. More... | |
| virtual void | on_currentSettingsChanged (const std::string &name) |
| Called when the current setting selection is changed. More... | |
| std::string | schemaForModel (const std::string &modelName) |
| Gets the scheme for the given model definition. More... | |
| virtual void | modelDefinitionChanged (const DtSettingsChangeObject *definition) |
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_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... | |
Protected Attributes | |
| DtMapEditorInterface & | myEntityTypeInterface |
| DtMapEditorInterface & | myArtPartInterface |
| DtCigiEntityMappingInterface & | myEntityMappingInterface |
| QStringList | myModelDefinitions |
| QStringList | myArtPartPossibleValues |
| int | myCurrentEntityTypeSelected |
Protected Attributes inherited from makVrv::DtCigiSettingsLogic | |
| DtDe & | myDe |
| DtCigiSettingsInterface & | mySettingsInterface |
| DtPersistenceControlsInterface & | myToolbarInterface |
| DtSharedCigiSettingsManager & | mySettingsManager |
| DtSignalConnectionManager | myConnectionManager |
A DtCigiEntityMappingLogic object provides the logic for a widget that maps entity types to model definitions and art part ID's to model art part numbers.
| makVrv::DtCigiEntityMappingLogic::DtCigiEntityMappingLogic | ( | DtDe & | de, |
| DtCigiEntityMappingInterface * | entMapIf, | ||
| DtCigiSettingsInterface * | settingsIf, | ||
| DtMapEditorInterface * | entTypeIf, | ||
| DtMapEditorInterface * | artPartIf, | ||
| DtPersistenceControlsInterface * | importExportIf | ||
| ) |
Constructor.
|
virtual |
Destructor.
|
protectedvirtual |
Updates the GUI from the shared settings.
Reimplemented from makVrv::DtCigiSettingsLogic.
|
protectedvirtual |
Sets the possible values for model definitions.
|
protectedvirtual |
Gets the list of possible model definitions from the shared state.
|
protectedvirtual |
Updates the entity mappings portion of the GUI.
|
protectedvirtual |
Update the articulated parts mappings portion of the GUI.
|
protectedvirtual |
|
protected |
Called when an entity type mappings is removed.
|
protected |
Called when an entity type mapping is added.
|
protected |
Called when the entity type of a mapping is changed.
|
protected |
Called when an entity type mapping is selected.
Updates the art part mapping.
|
protected |
Called when an art part mapping is added.
|
protected |
Called when the art part ID of a mapping is changed.
|
protected |
Called when an art part mapping is deleted.
|
protectedvirtual |
Called when the current setting selection is changed.
Reimplemented from makVrv::DtCigiSettingsLogic.
|
protected |
Gets the scheme for the given model definition.
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |