VR-Forces 4.1.1 Class Documentation
List of all members | Public Member Functions | Protected Attributes
DerivedDialogLogic Class Reference

The logic for the widget. More...

Inheritance diagram for DerivedDialogLogic:
Inheritance graph
[legend]

Public Member Functions

 DerivedDialogLogic (makVrv::DtDe &de, makVrv::DtPersistenceControlsInterface &persistenceControls, makVrv::DtLoaderSettingsInterface &settingsIFace, ExtraDialogInterface &extraIFace)
 CTOR.
virtual ~DerivedDialogLogic ()
 CTOR.
void slot_enableFlagSet (bool value)
 Catches a signal from the widget-interface.
- Public Member Functions inherited from makVrv::DtLoaderSettingsLogic
 DtLoaderSettingsLogic (DtDe &de, DtPersistenceControlsInterface &persistenceControls, DtLoaderSettingsInterface &widget)
 CTOR.
 ~DtLoaderSettingsLogic ()
 DTOR.

Protected Attributes

ExtraDialogInterfacemyInterface
- Protected Attributes inherited from makVrv::DtLoaderSettingsLogic
DtLoaderSettingsInterfacemyWidget
 Called when the dds flip setting is changed by the gui.
DtPersistenceControlsInterfacemyPersistenceControls
 Called when the dds flip setting is changed by the gui.
DtDemyDe
 Called when the dds flip setting is changed by the gui.

Additional Inherited Members

- Protected Member Functions inherited from makVrv::DtLoaderSettingsLogic
void sendSettingsToGui ()
 Set up the gui with the current settings.
void slot_ddsFlipSet (bool flip)
 Called when the dds flip setting is changed by the gui.
void on_import ()
 Persistence slots:
void on_export ()
 Called when the dds flip setting is changed by the gui.
void on_importFilePathChosen (const std::string &filePath)
 Called when the dds flip setting is changed by the gui.
void on_exportFilePathChosen (const std::string &filePath)
 Called when the dds flip setting is changed by the gui.
virtual void settingsRestored (const DtSettingsBackup *)
 Called when settings are restored. Resets gui if the restored object type is of this class.

Detailed Description

The logic for the widget.

This class does not have knowledge about how the widget was implemented, but communicates with the widget through an interface. The interface allows the widget or logic to be independently re-factored without affecting the other. This class extends the already existing logic class makVrv::DtLoaderSettingsWidget which manages user input for Flip DDS commands. This extended logic gives the user the ability to enable/disable the Flip DDS checkbox in the original dialog.

Examples

Constructor & Destructor Documentation

DerivedDialogLogic::DerivedDialogLogic ( makVrv::DtDe de,
makVrv::DtPersistenceControlsInterface persistenceControls,
makVrv::DtLoaderSettingsInterface settingsIFace,
ExtraDialogInterface extraIFace 
)

CTOR.

At construction time, this logic is connected to the boost::signals of the widget-interface to receive updates when the widget changes. A reference to the widget-interface is saved to call back to the widget.

virtual DerivedDialogLogic::~DerivedDialogLogic ( )
virtual

CTOR.

Disconnect from the boost::signals of the widget-interface.

Member Function Documentation

void DerivedDialogLogic::slot_enableFlagSet ( bool  value)

Catches a signal from the widget-interface.

When called this slot commands the widget, through the interface, to enable or disable the checkbox.

Member Data Documentation

ExtraDialogInterface& DerivedDialogLogic::myInterface
protected

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

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)