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

Example Logic (based on humble dialog pattern). More...

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

Public Member Functions

 DtExampleLogic (DtDe &de, DtExampleInterface &iFace, DtPersistenceControlsInterface &pIFace)
 CTOR. More...
 
virtual ~DtExampleLogic ()
 Virtual DTOR. More...
 

Protected Member Functions

virtual void sendSettingsToGui ()
 Update the GUI with settings. More...
 
void slot_onDisplayEngineInitialized ()
 Called when DE is initialized. More...
 
void slot_onIntChanged (int val)
 Called when the user changes a value on the widget. More...
 
virtual void on_import ()
 Persistence slots: More...
 
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)
 Called when settings have been restored. If these settings, reset gui. More...
 

Protected Attributes

DtDemyDe
 
DtExampleInterfacemyInterface
 
DtPersistenceControlsInterfacemyPersistenceInterface
 

Additional Inherited Members

- Private Types inherited from makVrv::DtSignalConnectionManager
typedef std::vector
< boost::signalslib::connection > 
Connections
 A collection of signals. More...
 
typedef std::vector
< boost::signalslib2::connection > 
Connections2
 
- Private Member Functions inherited from makVrv::DtSignalConnectionManager
 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...
 
bool blockConnection (int index, bool blocked)
 Blocks/unblocks connections. More...
 
bool connectionBlocked (int index) const
 check whether connections are blocked. More...
 
- Private 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...
 

Detailed Description

Example Logic (based on humble dialog pattern).

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

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)