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::DtFileCacheLogic Class Reference

The logic for controlling how the DtFileCachePage works. More...

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

Public Member Functions

 DtFileCacheLogic (DtDe &de, DtFileCacheInterface &gui, DtPersistenceControlsInterface &persistenceGui)
 CTOR. More...
 
 DtFileCacheLogic ()
 
virtual ~DtFileCacheLogic ()
 DTOR. More...
 
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 Do nothing constructor. More...
 
virtual ~DtVirtualBaseClass ()
 Virtual do nothing destructor. More...
 

Protected Member Functions

virtual void sendSettingsToGui ()
 Update the gui interface with current file caching settings. More...
 
virtual void slot_enableAccelerationCachingChanged (bool enabled)
 Called when the user checks the file caching checkbox. More...
 
virtual void slot_compressTexturesChanged (bool enabled)
 Called when the user checks the texture compression checkbox. More...
 
virtual void slot_clearAccelerationCache ()
 Called when the user presses the clear cache button. More...
 
virtual void slot_enableInstancingChanged (bool enabled)
 Called when the user checks the runtime caching checkbox. More...
 
virtual void slot_clearOnNewSceneChanged (bool enabled)
 Called when the user checks the runtime caching checkbox. More...
 
virtual void slot_clearInstanceCache ()
 Called when the user presses the clear instance cache button. More...
 
virtual void settingsRestored (const DtSettingsBackup *)
 Called when settings are restored. Resets gui if the restored object type is of this class. 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)
 

Protected Attributes

DtDemyDe
 
DtFileCacheInterfacemyGui
 
DtPersistenceControlsInterfacemyPersistenceGui
 

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

The logic for controlling how the DtFileCachePage works.

Constructor & Destructor Documentation

makVrv::DtFileCacheLogic::DtFileCacheLogic ( DtDe de,
DtFileCacheInterface gui,
DtPersistenceControlsInterface persistenceGui 
)

CTOR.

makVrv::DtFileCacheLogic::DtFileCacheLogic ( )
virtual makVrv::DtFileCacheLogic::~DtFileCacheLogic ( )
virtual

DTOR.

Member Function Documentation

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

Update the gui interface with current file caching settings.

virtual void makVrv::DtFileCacheLogic::slot_enableAccelerationCachingChanged ( bool  enabled)
protectedvirtual

Called when the user checks the file caching checkbox.

virtual void makVrv::DtFileCacheLogic::slot_compressTexturesChanged ( bool  enabled)
protectedvirtual

Called when the user checks the texture compression checkbox.

virtual void makVrv::DtFileCacheLogic::slot_clearAccelerationCache ( )
protectedvirtual

Called when the user presses the clear cache button.

virtual void makVrv::DtFileCacheLogic::slot_enableInstancingChanged ( bool  enabled)
protectedvirtual

Called when the user checks the runtime caching checkbox.

virtual void makVrv::DtFileCacheLogic::slot_clearOnNewSceneChanged ( bool  enabled)
protectedvirtual

Called when the user checks the runtime caching checkbox.

virtual void makVrv::DtFileCacheLogic::slot_clearInstanceCache ( )
protectedvirtual

Called when the user presses the clear instance cache button.

virtual void makVrv::DtFileCacheLogic::settingsRestored ( const DtSettingsBackup )
protectedvirtual

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

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

Persistence slots:

virtual void makVrv::DtFileCacheLogic::on_export ( )
protectedvirtual
virtual void makVrv::DtFileCacheLogic::on_importFilePathChosen ( const std::string &  filePath)
protectedvirtual
virtual void makVrv::DtFileCacheLogic::on_exportFilePathChosen ( const std::string &  filePath)
protectedvirtual

Member Data Documentation

DtDe& makVrv::DtFileCacheLogic::myDe
protected
DtFileCacheInterface& makVrv::DtFileCacheLogic::myGui
protected
DtPersistenceControlsInterface& makVrv::DtFileCacheLogic::myPersistenceGui
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)