VR-Forces 4.2 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.

Protected Attributes

ExtraDialogInterfacemyInterface

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 Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)