All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
CoverageTreeResourceUpdater.h
1 #pragma once
2 
3 #include "ICoverageTreeResourceUpdater.h"
4 #include "Buildings.h"
5 #include "Terrain.h"
6 #include "RoadStreaming.h"
7 #include "PlaceNames.h"
8 #include "Interiors.h"
9 #include "Streaming.h"
10 #include "CoverageTreeManifest.h"
11 
12 #include <string>
13 #include <vector>
14 
15 
16 namespace Eegeo
17 {
18  namespace Streaming
19  {
20  namespace CoverageTrees
21  {
23  {
24  public:
25 
27  Resources::Terrain::TerrainStreaming& terrainStreaming,
28  Resources::Roads::RoadStreaming& transportStreaming,
29  Resources::PlaceNames::PlaceNamesStreaming& placeNamesStreaming,
30  Resources::Interiors::InteriorsStreaming& interiorsStreaming,
31  Streaming::StreamingController& streamingController,
32  bool enableInteriors);
33 
34  void LoadCoverageTreesFromManifest(const Streaming::CoverageTrees::CoverageTreeManifest& manifest) override;
35 
36  private:
37 
38  void LoadCoverageTreesForResourceType(const std::vector<CoverageTrees::CoverageTreeManifestItem>& items, Streaming::ResourceStreamBase& streaming, const std::string& defaultBaseUrl);
39 
40  Resources::Buildings::BuildingStreaming& m_buildingStreaming;
41  Resources::Terrain::TerrainStreaming& m_terrainStreaming;
42  Resources::Roads::RoadStreaming& m_transportStreaming;
43  Resources::PlaceNames::PlaceNamesStreaming& m_placeNamesStreaming;
44  Resources::Interiors::InteriorsStreaming& m_interiorsStreaming;
45  Streaming::StreamingController& m_streamingController;
46  bool m_enableInteriors;
47  };
48  }
49  }
50 }
51