VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
makVrf::DtVrfOsgEarthCacheHandler Class Reference

Override to send message to back-end with bounds information to cache on the back-ends. More...

Inheritance diagram for makVrf::DtVrfOsgEarthCacheHandler:
Inheritance graph
[legend]

Public Member Functions

 DtVrfOsgEarthCacheHandler (makVrv::DtDe &de, makVrv::DtOsgEarthCacheInterface *iFace)
 CTOR. More...
 
virtual ~DtVrfOsgEarthCacheHandler ()
 DTOR. More...
 
virtual void fulfillCacheRequest (const DtIfOsgEarthCacheRequest &)
 
- Public Member Functions inherited from makVrv::DtOsgEarthCacheHandler
 DtOsgEarthCacheHandler (DtDe &de, DtOsgEarthCacheInterface *myInterface)
 CTOR. More...
 
virtual void run ()
 run function override, all code executed in this function will be in a worker thread. More...
 
virtual void initializeChannel (DtChannel *channel)
 Initialize the channel and associated data with it. More...
 
virtual void setMapNode (osgEarth::MapNode *mapNode)
 Setw the MapNode that forms the root of an osgEarth map. More...
 
virtual void setLowestLod (int lowestLod)
 Sets the lowest lod to cache, only the tiles with a higher lod will be cached. More...
 
virtual void setHighestLod (int highestLod)
 Sets the highest lod to cache, only the tiles with a higher lod will be cached. More...
 
virtual void setFlyOver (bool flyOver)
 Use the method of flying over the view point to the interested area to generate all kinds of cache data. More...
 
virtual void setBound (const osgEarth::Bounds &bound)
 Sets the Bound of the cache area. More...
 
virtual void setCacheImageLayers (bool val)
 Sets whether cache image layers. More...
 
virtual void setCacheElevationLayers (bool val)
 Sets whether cache elevation layers. More...
 

Protected Types

typedef std::map< std::string,
int
ActiveServers
 

Protected Member Functions

virtual void cancelCache ()
 Called when cancelling operation – send message to back-ends to also cancel. More...
 
virtual void processOsgEarthCacheProgress (DtSimMessage *msg)
 
virtual void slot_cacheFinished ()
 Slot when the cache finished. More...
 
- Protected Member Functions inherited from makVrv::DtOsgEarthCacheHandler
void connectSignals ()
 Connects all the signals. More...
 
virtual void slot_updateProgress (int progress)
 Slot when the cache progress update. More...
 
virtual void slot_updateProgressText (std::string text)
 Slot when the text of the progress label changed. More...
 

Protected Attributes

int myRequestId
 
bool myFrontEndFinished
 
bool myBackEndFinished
 
ActiveServers myActiveServers
 
- Protected Attributes inherited from makVrv::DtOsgEarthCacheHandler
DtDemyDe
 
DtSignalConnectionManager mySignals
 
DtOsgEarthCacheInterfacemyInterface
 
DtOsgEarthCachemyOsgEarthCache
 

Additional Inherited Members

- Signals inherited from makVrv::DtOsgEarthCacheHandler
void qt_signal_updateProgress (int progress)
 Qt signal to update the propress bar, progree bar has to be updated in the qt main thread. More...
 
void qt_signal_cacheFinished ()
 Qt signal to indicate the cache is finished. More...
 

Detailed Description

Override to send message to back-end with bounds information to cache on the back-ends.

Member Typedef Documentation

typedef std::map<std::string, int> makVrf::DtVrfOsgEarthCacheHandler::ActiveServers
protected

Constructor & Destructor Documentation

makVrf::DtVrfOsgEarthCacheHandler::DtVrfOsgEarthCacheHandler ( makVrv::DtDe de,
makVrv::DtOsgEarthCacheInterface iFace 
)

CTOR.

virtual makVrf::DtVrfOsgEarthCacheHandler::~DtVrfOsgEarthCacheHandler ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrf::DtVrfOsgEarthCacheHandler::fulfillCacheRequest ( const DtIfOsgEarthCacheRequest )
virtual
virtual void makVrf::DtVrfOsgEarthCacheHandler::cancelCache ( )
protectedvirtual

Called when cancelling operation – send message to back-ends to also cancel.

Reimplemented from makVrv::DtOsgEarthCacheHandler.

virtual void makVrf::DtVrfOsgEarthCacheHandler::processOsgEarthCacheProgress ( DtSimMessage msg)
protectedvirtual
virtual void makVrf::DtVrfOsgEarthCacheHandler::slot_cacheFinished ( )
protectedvirtual

Slot when the cache finished.

Reimplemented from makVrv::DtOsgEarthCacheHandler.

Member Data Documentation

int makVrf::DtVrfOsgEarthCacheHandler::myRequestId
protected
bool makVrf::DtVrfOsgEarthCacheHandler::myFrontEndFinished
protected
bool makVrf::DtVrfOsgEarthCacheHandler::myBackEndFinished
protected
ActiveServers makVrf::DtVrfOsgEarthCacheHandler::myActiveServers
protected

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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)