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 Member Functions | Protected Attributes
makVrv::DtExampleLogic Class Reference

Example Logic (based on humble dialog pattern).

Inheritance diagram for makVrv::DtExampleLogic:
Inheritance graph
[legend]

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

DtDemyDe
 
DtExampleInterfacemyInterface
 
DtPersistenceControlsInterfacemyPersistenceInterface
 
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)
 
DtSignalConnectionManageroperator+= (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
 

Constructor & Destructor Documentation

makVrv::DtExampleLogic::DtExampleLogic ( DtDe de,
DtExampleInterface iFace,
DtPersistenceControlsInterface pIFace 
)

CTOR.

virtual makVrv::DtExampleLogic::~DtExampleLogic ( )
virtual

Virtual DTOR.

Member Function Documentation

virtual void makVrv::DtExampleLogic::sendSettingsToGui ( )
protectedvirtual

Update the GUI with settings.

void makVrv::DtExampleLogic::slot_onDisplayEngineInitialized ( )
protected

Called when DE is initialized.

void makVrv::DtExampleLogic::slot_onIntChanged ( int  val)
protected

Called when the user changes a value on the widget.

virtual void makVrv::DtExampleLogic::on_import ( )
protectedvirtual

Persistence slots:

virtual void makVrv::DtExampleLogic::on_export ( )
protectedvirtual
virtual void makVrv::DtExampleLogic::on_importFilePathChosen ( const std::string &  filePath)
protectedvirtual
virtual void makVrv::DtExampleLogic::on_exportFilePathChosen ( const std::string &  filePath)
protectedvirtual
virtual void makVrv::DtExampleLogic::settingsRestored ( const DtSettingsBackup b)
protectedvirtual

Called when settings have been restored. If these settings, reset gui.

Member Data Documentation

DtDe& makVrv::DtExampleLogic::myDe
protected
DtExampleInterface& makVrv::DtExampleLogic::myInterface
protected
DtPersistenceControlsInterface& makVrv::DtExampleLogic::myPersistenceInterface
protected
vrvSignalsLib::connection makVrv::DtExampleLogic::myPostInitializeConnection
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)