VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
DerivedDialogLogic Class Reference

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
Inheritance diagram for DerivedDialogLogic:
Inheritance graph
[legend]

Public Member Functions

 DerivedDialogLogic (makVrv::DtDe &de, makVrv::DtPersistenceControlsInterface &persistenceControls, makVrv::DtLoaderSettingsInterface &settingsIFace, ExtraDialogInterface &extraIFace)
 
virtual ~DerivedDialogLogic ()
 
void slot_enableFlagSet (bool value)
 
- Public Member Functions inherited from makVrv::DtLoaderSettingsLogic
 DtLoaderSettingsLogic (DtDe &de, DtPersistenceControlsInterface &persistenceControls, DtLoaderSettingsInterface &widget)
 
virtual ~DtLoaderSettingsLogic ()
 

Protected Attributes

ExtraDialogInterfacemyInterface
 
- Protected Attributes inherited from makVrv::DtLoaderSettingsLogic
DtLoaderSettingsInterfacemyWidget
 
DtPersistenceControlsInterfacemyPersistenceControls
 
DtDemyDe
 
- Protected Attributes inherited from makVrv::DtSignalConnectionManager
Connections myConnections
 
bool myConnectionsBlocked
 
bool myIndiviualConnectionedBlocked
 
std::vector
< boost::signalslib::shared_connection_block * > 
mySharedConnectionsBlockManager
 

Additional Inherited Members

- Protected Types inherited from makVrv::DtSignalConnectionManager
typedef std::vector
< boost::signalslib::connection > 
Connections
 
- Protected Member Functions inherited from makVrv::DtLoaderSettingsLogic
void sendSettingsToGui ()
 
void slot_ddsFlipSet (bool flip)
 
void on_import ()
 
void on_export ()
 
void on_importFilePathChosen (const std::string &filePath)
 
void on_exportFilePathChosen (const std::string &filePath)
 
virtual void settingsRestored (const DtSettingsBackup *)
 
- Protected Member Functions inherited from makVrv::DtSignalConnectionManager
 DtSignalConnectionManager ()
 
virtual ~DtSignalConnectionManager ()
 
void manageConnection (const boost::signalslib::connection &conn)
 
DtSignalConnectionManageroperator+= (const boost::signalslib::connection &conn)
 
bool blockConnections (bool blocked)
 
int numberOfConnections () const
 
void disconnectSignals ()
 
bool connectionsBlocked () const
 

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 Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)