Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Mapscenes
MapsceneApplier.h
1
// Copyright eeGeo Ltd (2012-2017), All Rights Reserved
2
3
#pragma once
4
5
#include "Mapscenes.h"
6
#include "Web.h"
7
#include "CoverageTrees.h"
8
#include "CityThemes.h"
9
#include "ICallback.h"
10
#include <string>
11
12
namespace
Eegeo
13
{
14
namespace
Mapscenes
15
{
16
class
MapsceneApplier
17
{
18
public
:
19
20
MapsceneApplier
(
Web::ApiTokenService
& apiTokenService,
21
Streaming::CoverageTrees::ICoverageTreeManifestLoader
& manifestLoader,
22
Streaming::CoverageTrees::CoverageTreeManifestNotifier
& manifestNotifier,
23
Resources::CityThemes::CityThemeLoader
& cityThemeLoader,
24
Resources::CityThemes::ICityThemesService
& cityThemeService);
25
26
~
MapsceneApplier
();
27
28
void
ApplyMapscene(
const
Mapscene
& mapscene);
29
30
private
:
31
32
Web::ApiTokenService
& m_apiTokenService;
33
Streaming::CoverageTrees::ICoverageTreeManifestLoader
& m_manifestLoader;
34
Streaming::CoverageTrees::CoverageTreeManifestNotifier
& m_manifestNotifier;
35
Resources::CityThemes::CityThemeLoader
& m_cityThemeLoader;
36
Resources::CityThemes::ICityThemesService
& m_cityThemeService;
37
38
Eegeo::Helpers::TCallback1<MapsceneApplier, const Eegeo::Streaming::CoverageTrees::CoverageTreeManifest>
m_newManifestCallback;
39
void
HandleNewCoverageTreeManifestLoaded(
const
Eegeo::Streaming::CoverageTrees::CoverageTreeManifest
& manifest);
40
41
Eegeo::Helpers::TCallback0<MapsceneApplier>
m_newThemeDataCallback;
42
void
HandleNewThemeManifestLoaded();
43
44
std::string m_previouslyLoadedCoverageTreeUrl;
45
std::string m_previouslyLoadedThemeManifestUrl;
46
};
47
}
48
}
Generated on Sat Jun 10 2023 02:00:31 for eeGeo Platform SDK by
1.8.3.1