![]() |
VR-Forces Development_Version Class Documentation
|
The logic for the widget. More...

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 | |
| ExtraDialogInterface & | myInterface |
Protected Attributes inherited from makVrv::DtLoaderSettingsLogic | |
| DtLoaderSettingsInterface & | myWidget |
| Called when the dds flip setting is changed by the gui. | |
| DtPersistenceControlsInterface & | myPersistenceControls |
| Called when the dds flip setting is changed by the gui. | |
| DtDe & | myDe |
| 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. | |
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.
| 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 |
CTOR.
Disconnect from the boost::signals of the widget-interface.
| 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.
|
protected |