![]() |
VR-Vantage 2.6 API Documentation
|
The logic for the widget. More...

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 | |
| ExtraDialogInterface & | myInterface |
Protected Attributes inherited from makVrv::DtLoaderSettingsLogic | |
| DtLoaderSettingsInterface & | myWidget |
| Called when the dds flip setting is changed by the gui. More... | |
| DtPersistenceControlsInterface & | myPersistenceControls |
| Called when the dds flip setting is changed by the gui. More... | |
| DtDe & | myDe |
| Called when the dds flip setting is changed by the gui. More... | |
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 () |
| Called when the dds flip setting is changed by the gui. More... | |
| void | on_importFilePathChosen (const std::string &filePath) |
| Called when the dds flip setting is changed by the gui. More... | |
| void | on_exportFilePathChosen (const std::string &filePath) |
| Called when the dds flip setting is changed by the gui. More... | |
| 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) |
| DtSignalConnectionManager & | operator+= (const boost::signalslib::connection &conn) |
| Connect a signal. More... | |
| DtSignalConnectionManager & | operator+= (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... | |
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 |