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
makVrv::DtCockpitSettingsLogic Class Reference
Inheritance diagram for makVrv::DtCockpitSettingsLogic:
Inheritance graph
[legend]

Public Member Functions

 DtCockpitSettingsLogic (DtDe &de, DtPersistenceControlsInterface &persistenceControls, DtCockpitSettingsInterface &widget)
 CTOR. More...
 
virtual ~DtCockpitSettingsLogic ()
 DTOR. More...
 

Protected Member Functions

virtual void sendSettingsToGui ()
 Set up the gui with the current window settings. More...
 

Boost slots

DtCockpitSettingsInterfacemyWidget
 
DtPersistenceControlsInterfacemyPersistenceInterface
 
DtDemyDe
 
void slot_cockpitsEnabled (bool enabled)
 Called when cockpits are enabled/disabled by the gui. More...
 
void slot_smoothingEnabled (bool enabled)
 Called when position smoothing is enabled/disabled by gui. More...
 
void slot_smoothingPeriodSet (float time)
 Called when position smoothing period time is set by gui. 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 *)
 Called when settings are restored. Resets gui if the restored object type is of this class. More...
 

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...
 

Constructor & Destructor Documentation

makVrv::DtCockpitSettingsLogic::DtCockpitSettingsLogic ( DtDe de,
DtPersistenceControlsInterface persistenceControls,
DtCockpitSettingsInterface widget 
)

CTOR.

virtual makVrv::DtCockpitSettingsLogic::~DtCockpitSettingsLogic ( )
virtual

DTOR.

Member Function Documentation

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

Set up the gui with the current window settings.

void makVrv::DtCockpitSettingsLogic::slot_cockpitsEnabled ( bool  enabled)
protected

Called when cockpits are enabled/disabled by the gui.

void makVrv::DtCockpitSettingsLogic::slot_smoothingEnabled ( bool  enabled)
protected

Called when position smoothing is enabled/disabled by gui.

void makVrv::DtCockpitSettingsLogic::slot_smoothingPeriodSet ( float  time)
protected

Called when position smoothing period time is set by gui.

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

Persistence slots:

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

Called when settings are restored. Resets gui if the restored object type is of this class.

Member Data Documentation

DtCockpitSettingsInterface& makVrv::DtCockpitSettingsLogic::myWidget
protected
DtPersistenceControlsInterface& makVrv::DtCockpitSettingsLogic::myPersistenceInterface
protected
DtDe& makVrv::DtCockpitSettingsLogic::myDe
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)