![]() |
VR-Forces 4.6 Class Documentation
|
Logic for the VirtualReality settings gui. More...

Public Member Functions | |
| DtVirtualRealitySettingsLogic (DtDe &de, DtVirtualRealitySettingsInterface &gui, DtPersistenceControlsInterface &persistenceGui) | |
| CTOR. | |
| virtual | ~DtVirtualRealitySettingsLogic () |
| DTOR. | |
| virtual void | sendSettingsToGui () |
| Update the GUI with current VirtualReality settings. Not virtual since it's called from the constructor. | |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. | |
Protected Member Functions | |
Slots for when the GUI changes | |
| virtual void | slot_enabledChanged (bool enabled) |
| This signal fires when the UI enabled check box is changed. | |
| virtual void | slot_mirroringChanged (makArchives::DtVirtualRealitySettingsRecord::DtMirroring view) |
| This signal fires when the UI mirroring drop down is changed. | |
| virtual void | slot_mirrorChannelChanged (std::string enabled) |
| This signal fires when the UI enabled check box is changed. | |
| virtual void | slot_attachedObserverChanged (std::string observer) |
| This signal fires when the UI attached observer drop down is changed, the logic will change the settings manager to reflect this. | |
| virtual void | slot_flipOverlaysChanged (bool flip) |
| This signal fires when the UI flip overlays check box is changed, the logic will change the settings manger to reflect this. | |
Slots for when the settings changes | |
| virtual void | slot_enabledUpdated (bool enabled) |
| this function is called when the settings manager changes whether or not VR is enabled so the gui can be updated | |
| virtual void | slot_mirroringUpdated (makArchives::DtVirtualRealitySettingsRecord::DtMirroring view) |
| this function is called when the settings manager changes the mirror setting so the gui can be updated | |
| virtual void | slot_mirrorChannelUpdated (std::string enabled) |
| this function is called when the settings manager changes the mirror channel so the gui can be updated | |
| virtual void | slot_channelsUpdated () |
| this function is called when the settings manager changes the available channels so the gui can be updated | |
| virtual void | slot_observersUpdated () |
| this function is called when the settings manager changes the available observers so the gui can be updated | |
| virtual void | slot_observerRemoved (const DtObserver *obs) |
| this function is called when an observer is removed and needs to be taken out of GUI list | |
| virtual void | slot_attachedObserverUpdated (std::string observerName) |
| this function is called with the settings manager changes the attached observer so the gui can be updated | |
| virtual void | slot_flipOverlaysUpdated (bool flip) |
| this function is called when the settings manager changes the flip overlays setting so the gui can be updated | |
Private Member Functions | |
| DtVirtualRealitySettingsLogic () | |
| prevent default constructor | |
| DtVirtualRealitySettingsLogic (const DtVirtualRealitySettingsLogic &) | |
| prevent copy-construction | |
| DtVirtualRealitySettingsLogic & | operator= (const DtVirtualRealitySettingsLogic &) |
| prevent assignment | |
Persistence slots | |
| DtSignalConnectionManager | myConnections |
| DtVirtualRealitySettingsInterface & | myInterface |
| DtPersistenceControlsInterface & | myPersistenceControls |
| DtDe & | myDe |
| void | on_import () |
| this function is called when the import settings button is pressed | |
| void | on_export () |
| this function is called when the export settings button is pressed | |
| void | on_importFilePathChosen (const std::string &filePath) |
| this function is called when the import file path chosen button is pressed | |
| void | on_exportFilePathChosen (const std::string &filePath) |
| this function is called when the export path chosen button is pressed | |
| virtual void | settingsRestored (const DtSettingsBackup *) |
| Called when settings are restored. | |
Logic for the VirtualReality settings gui.
|
private |
prevent default constructor
|
private |
prevent copy-construction
| makVrv::DtVirtualRealitySettingsLogic::DtVirtualRealitySettingsLogic | ( | DtDe & | de, |
| DtVirtualRealitySettingsInterface & | gui, | ||
| DtPersistenceControlsInterface & | persistenceGui | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
private |
prevent assignment
|
virtual |
Update the GUI with current VirtualReality settings. Not virtual since it's called from the constructor.
|
protectedvirtual |
This signal fires when the UI enabled check box is changed.
The logic will change the settings manager to reflect this.
|
protectedvirtual |
This signal fires when the UI mirroring drop down is changed.
The logic will change the settings manager to reflect this.
|
protectedvirtual |
This signal fires when the UI enabled check box is changed.
The logic will change the settings manager to reflect this.
|
protectedvirtual |
This signal fires when the UI attached observer drop down is changed, the logic will change the settings manager to reflect this.
|
protectedvirtual |
This signal fires when the UI flip overlays check box is changed, the logic will change the settings manger to reflect this.
|
protectedvirtual |
this function is called when the settings manager changes whether or not VR is enabled so the gui can be updated
|
protectedvirtual |
this function is called when the settings manager changes the mirror setting so the gui can be updated
|
protectedvirtual |
this function is called when the settings manager changes the mirror channel so the gui can be updated
|
protectedvirtual |
this function is called when the settings manager changes the available channels so the gui can be updated
|
protectedvirtual |
this function is called when the settings manager changes the available observers so the gui can be updated
|
protectedvirtual |
this function is called when an observer is removed and needs to be taken out of GUI list
|
protectedvirtual |
this function is called with the settings manager changes the attached observer so the gui can be updated
|
protectedvirtual |
this function is called when the settings manager changes the flip overlays setting so the gui can be updated
|
protected |
this function is called when the import settings button is pressed
|
protected |
this function is called when the export settings button is pressed
|
protected |
this function is called when the import file path chosen button is pressed
|
protected |
this function is called when the export path chosen button is pressed
|
protectedvirtual |
Called when settings are restored.
Resets GUI if the restored object type is of this class
|
protected |
|
protected |
|
protected |
|
protected |