9 #ifndef GlobeEngine_MessageQueue_h
10 #define GlobeEngine_MessageQueue_h
12 #include "OpenGL_Includes.h"
37 void create(
unsigned int _capacity);
46 void startTileLoadingJob(
int _fileType, std::string _repositoryURL, std::string _fileExtension);
58 std::vector< std::shared_ptr<geSpatial::CullableSpatialKey> >
requestedKeys;
60 std::vector< std::shared_ptr<geSpatial::CullableSpatialKey> >
loadedKeys;
Definition: MessageQueue.h:26
std::vector< std::shared_ptr< geSpatial::CullableSpatialKey > > requestedKeys
Definition: MessageQueue.h:58
std::shared_ptr< TileCache > tileFetchcache
Definition: MessageQueue.h:62
void clearCache()
Definition: MessageQueue.cpp:62
int getLoadedTileCount()
Definition: MessageQueue.cpp:78
const std::vector< std::shared_ptr< geSpatial::Tile > > & getAllLoadedTiles()
Definition: MessageQueue.cpp:73
void create()
Definition: MessageQueue.cpp:24
void setCacheCapacity(unsigned int _capacity)
Definition: MessageQueue.cpp:68
void startTileLoadingJob(int _fileType, std::string _repositoryURL, std::string _fileExtension)
~MessageQueue()
Definition: MessageQueue.cpp:16
MessageQueue()
Definition: MessageQueue.cpp:12
void startFeatureLoadingJob(std::string _repositoryURL)
std::shared_ptr< geSpatial::CullableSpatialKey > setNextKeyToOpenRequest()
Definition: MessageQueue.cpp:48
QMutex loadedKeysMutex
Definition: MessageQueue.h:63
std::vector< std::shared_ptr< geSpatial::CullableSpatialKey > > loadedKeys
Definition: MessageQueue.h:60
std::vector< std::shared_ptr< geSpatial::CullableSpatialKey > > openRequestKeys
Definition: MessageQueue.h:59
void waitForDone()
Definition: MessageQueue.cpp:56
void clear()
Definition: MessageQueue.cpp:20