![]() |
VR-Forces Development_Version Class Documentation
|
Logic for controlling how sound mappings are edited. More...

Public Member Functions | |
| DtBaseSoundEditorLogic (DtDe &de, DtBaseSoundEditorInterface &editorIFace, DtPersistenceControlsInterface &persistenceIFace) | |
| CTOR. | |
| virtual | ~DtBaseSoundEditorLogic () |
| DTOR. | |
| virtual void | slot_SoundMapRecordChanged (const DtEntitySoundMapRecord &rec)=0 |
| Called when the user changes a value on the widget. | |
| virtual void | slot_SoundMapRecordRemoved (const DtEntitySoundMapRecord &rec)=0 |
Persistence slots. | |
| virtual void | on_saveDefaults () |
| Called when the user saves current settings as defaults. | |
| virtual void | on_restoreDefaults () |
| Called when the user reloads the default settings. | |
| virtual void | on_import () |
| Called to query the user for the settings file to import. | |
| virtual void | on_export () |
| Called to query the user for the settings file to export. | |
| virtual void | on_importFilePathChosen (const std::string &filePath) |
| Called when the user selects a settings file to import. | |
| virtual void | on_exportFilePathChosen (const std::string &filePath) |
| Called when the user selects a settings file to export. | |
| virtual void | on_restoreFactoryDefaults () |
| Called when the user reloads the factory settings. | |
| virtual void | slot_entitySettingsRestored (const DtSettingsBackup *s) |
| Called when settings are restored. | |
Protected Member Functions | |
| virtual void | sendSettingsToGui ()=0 |
| Update the GUI with sound mappings. | |
| virtual void | connect () |
| Setup the signal/slot connections. | |
Protected Member Functions inherited from makVrv::DtSignalConnectionManager | |
| DtSignalConnectionManager () | |
| CTOR. | |
| virtual | ~DtSignalConnectionManager () |
| DTOR. | |
| void | manageConnection (const boost::signalslib::connection &conn) |
| Connect a signal. | |
| DtSignalConnectionManager & | operator+= (const boost::signalslib::connection &conn) |
| Connect a signal. | |
| int | numberOfConnections () const |
| Get the number of connections. | |
| void | disconnectSignals () |
| Disconnect all signals. | |
| bool | blockConnections (bool blocked) |
| Blocks/unblocks connections. | |
| bool | blockConnection (int index, bool blocked) |
| Blocks/unblocks connections. | |
| bool | connectionsBlocked () const |
| check whether connections are blocked. | |
| bool | connectionBlocked (int index) const |
| check whether connections are blocked. | |
Protected Attributes | |
| DtDe & | myDe |
| DtBaseSoundEditorInterface & | myInterface |
| DtPersistenceControlsInterface & | myPersistenceControls |
Additional Inherited Members |
Logic for controlling how sound mappings are edited.
| makVrv::DtBaseSoundEditorLogic::DtBaseSoundEditorLogic | ( | DtDe & | de, |
| DtBaseSoundEditorInterface & | editorIFace, | ||
| DtPersistenceControlsInterface & | persistenceIFace | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
pure virtual |
Called when the user changes a value on the widget.
Implemented in makVrv::DtEntitySoundEditorLogic, makVrv::DtDetonationSoundEditorLogic, and makVrv::DtFireSoundEditorLogic.
|
pure virtual |
|
virtual |
Called when the user saves current settings as defaults.
|
virtual |
Called when the user reloads the default settings.
|
virtual |
Called to query the user for the settings file to import.
|
virtual |
Called to query the user for the settings file to export.
|
virtual |
Called when the user selects a settings file to import.
| [in] | filePath | is the path to the file the user has selected. |
|
virtual |
Called when the user selects a settings file to export.
| [in] | filePath | is the path to the file the user has selected. |
|
virtual |
Called when the user reloads the factory settings.
|
virtual |
Called when settings are restored.
|
protectedpure virtual |
Update the GUI with sound mappings.
Implemented in makVrv::DtEntitySoundEditorLogic, makVrv::DtDetonationSoundEditorLogic, and makVrv::DtFireSoundEditorLogic.
|
protectedvirtual |
Setup the signal/slot connections.
Reimplemented in makVrv::DtEntitySoundEditorLogic, makVrv::DtDetonationSoundEditorLogic, and makVrv::DtFireSoundEditorLogic.
|
protected |
|
protected |
|
protected |