![]() |
VR-Forces Developer's Guide
|
Example Logic (based on humble dialog pattern).

Public Member Functions | |
| DtExampleLogic (DtDe &de, DtExampleInterface &iFace, DtPersistenceControlsInterface &pIFace) | |
| virtual | ~DtExampleLogic () |
Protected Member Functions | |
| virtual void | sendSettingsToGui () |
| void | slot_onDisplayEngineInitialized () |
| void | slot_onIntChanged (int val) |
| virtual void | on_import () |
| virtual void | on_export () |
| virtual void | on_importFilePathChosen (const std::string &filePath) |
| virtual void | on_exportFilePathChosen (const std::string &filePath) |
| virtual void | settingsRestored (const DtSettingsBackup *b) |
Protected Attributes | |
| DtDe & | myDe |
| DtExampleInterface & | myInterface |
| DtPersistenceControlsInterface & | myPersistenceInterface |
| vrvSignalsLib::connection | myPostInitializeConnection |
Additional Inherited Members | |
Private Types inherited from makVrv::DtSignalConnectionManager | |
| typedef std::vector < boost::signalslib::connection > | Connections |
Private Member Functions inherited from makVrv::DtSignalConnectionManager | |
| DtSignalConnectionManager () | |
| virtual | ~DtSignalConnectionManager () |
| void | manageConnection (const boost::signalslib::connection &conn) |
| DtSignalConnectionManager & | operator+= (const boost::signalslib::connection &conn) |
| bool | blockConnections (bool blocked) |
| int | numberOfConnections () const |
| void | disconnectSignals () |
| bool | connectionsBlocked () const |
Private Attributes inherited from makVrv::DtSignalConnectionManager | |
| Connections | myConnections |
| bool | myConnectionsBlocked |
| bool | myIndiviualConnectionedBlocked |
| std::vector < boost::signalslib::shared_connection_block * > | mySharedConnectionsBlockManager |
| makVrv::DtExampleLogic::DtExampleLogic | ( | DtDe & | de, |
| DtExampleInterface & | iFace, | ||
| DtPersistenceControlsInterface & | pIFace | ||
| ) |
CTOR.
|
virtual |
Virtual DTOR.
|
protectedvirtual |
Update the GUI with settings.
|
protected |
Called when DE is initialized.
|
protected |
Called when the user changes a value on the widget.
|
protectedvirtual |
Persistence slots:
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Called when settings have been restored. If these settings, reset gui.
|
protected |
|
protected |
|
protected |
|
protected |