VR-Forces 4.8 Class Documentation
 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. More...

Inheritance diagram for DerivedDialogLogic:
Inheritance graph
[legend]

Public Member Functions

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

Protected Attributes

ExtraDialogInterfacemyInterface
 
- Protected Attributes inherited from makVrv::DtLoaderSettingsLogic
DtLoaderSettingsInterfacemyWidget
 
DtPersistenceControlsInterfacemyPersistenceControls
 
DtDemyDe
 
- Protected Attributes inherited from makVrv::DtSignalConnectionManager
Connections myConnections
 The connected signals. More...
 
Connections2 myConnections2
 
bool myConnectionsBlocked
 
bool myIndiviualConnectionedBlocked
 
std::vector
< boost::signalslib2::shared_connection_block * > 
mySharedConnectionsBlockManager
 blocking Connections manager for signal2 connection More...
 

Additional Inherited Members

- Protected Types inherited from makVrv::DtSignalConnectionManager
typedef std::vector
< boost::signalslib::connection > 
Connections
 A collection of signals. More...
 
typedef std::vector
< boost::signalslib2::connection > 
Connections2
 
- Protected Member Functions inherited from makVrv::DtLoaderSettingsLogic
void sendSettingsToGui ()
 Set up the gui with the current settings. More...
 
void slot_ddsFlipSet (bool flip)
 Called when the dds flip setting is changed by the gui. More...
 
void on_import ()
 Persistence slots: More...
 
void on_export ()
 
void on_importFilePathChosen (const std::string &filePath)
 
void on_exportFilePathChosen (const std::string &filePath)
 
virtual void settingsRestored (const DtSettingsBackup *)
 Called when settings are restored. Resets gui if the restored object type is of this class. More...
 
- Protected Member Functions inherited from makVrv::DtSignalConnectionManager
bool blockConnection (int index, bool blocked)
 Blocks/unblocks connections. More...
 
bool connectionBlocked (int index) const
 check whether connections are blocked. More...
 
 DtSignalConnectionManager ()
 CTOR. More...
 
virtual ~DtSignalConnectionManager ()
 DTOR. More...
 
void manageConnection (const boost::signalslib::connection &conn)
 Connect a signal. More...
 
void manageConnection (const boost::signalslib2::connection &conn)
 
DtSignalConnectionManageroperator+= (const boost::signalslib::connection &conn)
 Connect a signal. More...
 
DtSignalConnectionManageroperator+= (const boost::signalslib2::connection &conn)
 
bool blockConnections (bool blocked)
 Blocks/unblocks connections. More...
 
int numberOfConnections () const
 Get the number of connections. More...
 
void disconnectSignals ()
 Disconnect all signals. More...
 
bool connectionsBlocked () const
 check whether connections are blocked. More...
 

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 Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)