VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtBaseSoundEditorLogic Class Reference

Logic for controlling how sound mappings are edited. More...

Inheritance diagram for makVrv::DtBaseSoundEditorLogic:
Inheritance graph
[legend]

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.
DtSignalConnectionManageroperator+= (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

DtDemyDe
DtBaseSoundEditorInterfacemyInterface
DtPersistenceControlsInterfacemyPersistenceControls

Additional Inherited Members

Detailed Description

Logic for controlling how sound mappings are edited.

Constructor & Destructor Documentation

makVrv::DtBaseSoundEditorLogic::DtBaseSoundEditorLogic ( DtDe de,
DtBaseSoundEditorInterface editorIFace,
DtPersistenceControlsInterface persistenceIFace 
)

CTOR.

virtual makVrv::DtBaseSoundEditorLogic::~DtBaseSoundEditorLogic ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrv::DtBaseSoundEditorLogic::slot_SoundMapRecordChanged ( const DtEntitySoundMapRecord rec)
pure virtual

Called when the user changes a value on the widget.

Implemented in makVrv::DtEntitySoundEditorLogic, makVrv::DtDetonationSoundEditorLogic, and makVrv::DtFireSoundEditorLogic.

virtual void makVrv::DtBaseSoundEditorLogic::slot_SoundMapRecordRemoved ( const DtEntitySoundMapRecord rec)
pure virtual
virtual void makVrv::DtBaseSoundEditorLogic::on_saveDefaults ( )
virtual

Called when the user saves current settings as defaults.

virtual void makVrv::DtBaseSoundEditorLogic::on_restoreDefaults ( )
virtual

Called when the user reloads the default settings.

virtual void makVrv::DtBaseSoundEditorLogic::on_import ( )
virtual

Called to query the user for the settings file to import.

virtual void makVrv::DtBaseSoundEditorLogic::on_export ( )
virtual

Called to query the user for the settings file to export.

virtual void makVrv::DtBaseSoundEditorLogic::on_importFilePathChosen ( const std::string &  filePath)
virtual

Called when the user selects a settings file to import.

Parameters
[in]filePathis the path to the file the user has selected.
virtual void makVrv::DtBaseSoundEditorLogic::on_exportFilePathChosen ( const std::string &  filePath)
virtual

Called when the user selects a settings file to export.

Parameters
[in]filePathis the path to the file the user has selected.
virtual void makVrv::DtBaseSoundEditorLogic::on_restoreFactoryDefaults ( )
virtual

Called when the user reloads the factory settings.

virtual void makVrv::DtBaseSoundEditorLogic::slot_entitySettingsRestored ( const DtSettingsBackup s)
virtual

Called when settings are restored.

virtual void makVrv::DtBaseSoundEditorLogic::sendSettingsToGui ( )
protectedpure virtual
virtual void makVrv::DtBaseSoundEditorLogic::connect ( )
protectedvirtual

Setup the signal/slot connections.

Note
Derived classes must call from constructor after signaling GUI.
Derived classes should extend but not overwrite.

Reimplemented in makVrv::DtEntitySoundEditorLogic, makVrv::DtDetonationSoundEditorLogic, and makVrv::DtFireSoundEditorLogic.

Member Data Documentation

DtDe& makVrv::DtBaseSoundEditorLogic::myDe
protected
DtBaseSoundEditorInterface& makVrv::DtBaseSoundEditorLogic::myInterface
protected
DtPersistenceControlsInterface& makVrv::DtBaseSoundEditorLogic::myPersistenceControls
protected

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

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)