[core] Source::update => Source::{load,parse}Tiles, Source::load => Source::loadDescription

This commit is contained in:
Konstantin Käfer
2016-09-05 19:03:27 +02:00
parent 51b2033fce
commit 46b73b8a2c
12 changed files with 39 additions and 36 deletions

View File

@@ -40,14 +40,15 @@ public:
Impl(SourceType, std::string id, Source&);
~Impl() override;
virtual void load(FileSource&) = 0;
virtual void loadDescription(FileSource&) = 0;
bool isLoaded() const;
// Request or parse all the tiles relevant for the "TransformState". This method
// will return true if all the tiles were scheduled for updating of false if
// they were not. shouldReparsePartialTiles must be set to "true" if there is
// new data available that a tile in the "partial" state might be interested at.
bool update(const UpdateParameters&);
void loadTiles(const UpdateParameters&);
bool parseTiles(const UpdateParameters&);
void startRender(algorithm::ClipIDGenerator&,
const mat4& projMatrix,