VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Member Functions
makVrv::DtVirtualRealitySettingsLogic Class Reference

Logic for the VirtualReality settings gui. More...

Public Member Functions

 DtVirtualRealitySettingsLogic (DtDe &de, DtVirtualRealitySettingsInterface &gui, DtPersistenceControlsInterface &persistenceGui)
 CTOR. More...
 
virtual ~DtVirtualRealitySettingsLogic ()
 DTOR. More...
 
virtual void sendSettingsToGui ()
 Update the GUI with current VirtualReality settings. Not virtual since it's called from the constructor. More...
 

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. More...
 
virtual void slot_mirroringChanged (makArchives::DtVirtualRealitySettingsRecord::DtMirroring view)
 This signal fires when the UI mirroring drop down is changed. More...
 
virtual void slot_mirrorChannelChanged (std::string enabled)
 This signal fires when the UI enabled check box is changed. More...
 
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. More...
 
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. More...
 
virtual void slot_useMultiViewChanged (bool use)
 This signal fires when the UI use multiview check box is changed, the logic will change the settings manger to reflect this. More...
 
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 More...
 
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 More...
 
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 More...
 
virtual void slot_channelsUpdated ()
 this function is called when the settings manager changes the available channels so the gui can be updated More...
 
virtual void slot_observersUpdated ()
 this function is called when the settings manager changes the available observers so the gui can be updated More...
 
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 More...
 
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 More...
 
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 More...
 
virtual void slot_useMultiViewUpdated (bool use)
 this function is called when the settings manager changes the use multiview setting so the gui can be updated More...
 

Private Member Functions

 DtVirtualRealitySettingsLogic ()
 prevent default constructor More...
 
 DtVirtualRealitySettingsLogic (const DtVirtualRealitySettingsLogic &)
 prevent copy-construction More...
 
DtVirtualRealitySettingsLogicoperator= (const DtVirtualRealitySettingsLogic &)
 prevent assignment More...
 

Persistence slots

DtDemyDe
 
DtVirtualRealitySettingsInterfacemyInterface
 
DtPersistenceControlsInterfacemyPersistenceControls
 
DtSignalConnectionManager myConnections
 
void on_import ()
 this function is called when the import settings button is pressed More...
 
void on_export ()
 this function is called when the export settings button is pressed More...
 
void on_importFilePathChosen (const std::string &filePath)
 this function is called when the import file path chosen button is pressed More...
 
void on_exportFilePathChosen (const std::string &filePath)
 this function is called when the export path chosen button is pressed More...
 
virtual void settingsRestored (const DtSettingsBackup *)
 Called when settings are restored. More...
 

Detailed Description

Logic for the VirtualReality settings gui.

Constructor & Destructor Documentation

makVrv::DtVirtualRealitySettingsLogic::DtVirtualRealitySettingsLogic ( )
private

prevent default constructor

makVrv::DtVirtualRealitySettingsLogic::DtVirtualRealitySettingsLogic ( const DtVirtualRealitySettingsLogic )
private

prevent copy-construction

makVrv::DtVirtualRealitySettingsLogic::DtVirtualRealitySettingsLogic ( DtDe de,
DtVirtualRealitySettingsInterface gui,
DtPersistenceControlsInterface persistenceGui 
)

CTOR.

virtual makVrv::DtVirtualRealitySettingsLogic::~DtVirtualRealitySettingsLogic ( )
virtual

DTOR.

Member Function Documentation

DtVirtualRealitySettingsLogic& makVrv::DtVirtualRealitySettingsLogic::operator= ( const DtVirtualRealitySettingsLogic )
private

prevent assignment

virtual void makVrv::DtVirtualRealitySettingsLogic::sendSettingsToGui ( )
virtual

Update the GUI with current VirtualReality settings. Not virtual since it's called from the constructor.

virtual void makVrv::DtVirtualRealitySettingsLogic::slot_enabledChanged ( bool  enabled)
protectedvirtual

This signal fires when the UI enabled check box is changed.

The logic will change the settings manager to reflect this.

virtual void makVrv::DtVirtualRealitySettingsLogic::slot_mirroringChanged ( makArchives::DtVirtualRealitySettingsRecord::DtMirroring  view)
protectedvirtual

This signal fires when the UI mirroring drop down is changed.

The logic will change the settings manager to reflect this.

virtual void makVrv::DtVirtualRealitySettingsLogic::slot_mirrorChannelChanged ( std::string  enabled)
protectedvirtual

This signal fires when the UI enabled check box is changed.

The logic will change the settings manager to reflect this.

virtual void makVrv::DtVirtualRealitySettingsLogic::slot_attachedObserverChanged ( std::string  observer)
protectedvirtual

This signal fires when the UI attached observer drop down is changed, the logic will change the settings manager to reflect this.

virtual void makVrv::DtVirtualRealitySettingsLogic::slot_flipOverlaysChanged ( bool  flip)
protectedvirtual

This signal fires when the UI flip overlays check box is changed, the logic will change the settings manger to reflect this.

virtual void makVrv::DtVirtualRealitySettingsLogic::slot_useMultiViewChanged ( bool  use)
protectedvirtual

This signal fires when the UI use multiview check box is changed, the logic will change the settings manger to reflect this.

virtual void makVrv::DtVirtualRealitySettingsLogic::slot_enabledUpdated ( bool  enabled)
protectedvirtual

this function is called when the settings manager changes whether or not VR is enabled so the gui can be updated

virtual void makVrv::DtVirtualRealitySettingsLogic::slot_mirroringUpdated ( makArchives::DtVirtualRealitySettingsRecord::DtMirroring  view)
protectedvirtual

this function is called when the settings manager changes the mirror setting so the gui can be updated

virtual void makVrv::DtVirtualRealitySettingsLogic::slot_mirrorChannelUpdated ( std::string  enabled)
protectedvirtual

this function is called when the settings manager changes the mirror channel so the gui can be updated

virtual void makVrv::DtVirtualRealitySettingsLogic::slot_channelsUpdated ( )
protectedvirtual

this function is called when the settings manager changes the available channels so the gui can be updated

virtual void makVrv::DtVirtualRealitySettingsLogic::slot_observersUpdated ( )
protectedvirtual

this function is called when the settings manager changes the available observers so the gui can be updated

virtual void makVrv::DtVirtualRealitySettingsLogic::slot_observerRemoved ( const DtObserver obs)
protectedvirtual

this function is called when an observer is removed and needs to be taken out of GUI list

virtual void makVrv::DtVirtualRealitySettingsLogic::slot_attachedObserverUpdated ( std::string  observerName)
protectedvirtual

this function is called with the settings manager changes the attached observer so the gui can be updated

virtual void makVrv::DtVirtualRealitySettingsLogic::slot_flipOverlaysUpdated ( bool  flip)
protectedvirtual

this function is called when the settings manager changes the flip overlays setting so the gui can be updated

virtual void makVrv::DtVirtualRealitySettingsLogic::slot_useMultiViewUpdated ( bool  use)
protectedvirtual

this function is called when the settings manager changes the use multiview setting so the gui can be updated

void makVrv::DtVirtualRealitySettingsLogic::on_import ( )
protected

this function is called when the import settings button is pressed

void makVrv::DtVirtualRealitySettingsLogic::on_export ( )
protected

this function is called when the export settings button is pressed

void makVrv::DtVirtualRealitySettingsLogic::on_importFilePathChosen ( const std::string &  filePath)
protected

this function is called when the import file path chosen button is pressed

void makVrv::DtVirtualRealitySettingsLogic::on_exportFilePathChosen ( const std::string &  filePath)
protected

this function is called when the export path chosen button is pressed

virtual void makVrv::DtVirtualRealitySettingsLogic::settingsRestored ( const DtSettingsBackup )
protectedvirtual

Called when settings are restored.

Resets GUI if the restored object type is of this class

Member Data Documentation

DtDe& makVrv::DtVirtualRealitySettingsLogic::myDe
protected
DtVirtualRealitySettingsInterface& makVrv::DtVirtualRealitySettingsLogic::myInterface
protected
DtPersistenceControlsInterface& makVrv::DtVirtualRealitySettingsLogic::myPersistenceControls
protected
DtSignalConnectionManager makVrv::DtVirtualRealitySettingsLogic::myConnections
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)