Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Routes
RoutingTerrainHeightsObserver.h
1
// Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2
3
#pragma once
4
5
#include "Types.h"
6
#include "Routes.h"
7
#include "MortonKey.h"
8
#include "Terrain.h"
9
#include "TerrainHeightsCallback.h"
10
#include <vector>
11
12
namespace
Eegeo
13
{
14
namespace
Routes
15
{
16
class
RoutingTerrainHeightsObserver
:
public
Eegeo::NonCopyable
17
{
18
Resources::Terrain::Heights::TerrainHeightRepository
& m_terrainHeightRepository;
19
Fitting::RouteFittingService
& m_routeFittingService;
20
21
std::vector<Eegeo::Streaming::MortonKey> m_scratchKeys;
22
23
Resources::Terrain::Heights::TTerrainHeightsCallback<RoutingTerrainHeightsObserver>
m_addedCallback;
24
Resources::Terrain::Heights::TTerrainHeightsCallback<RoutingTerrainHeightsObserver>
m_removalCallback;
25
26
void
HandleTerrainHeightsAdded(
const
Resources::Terrain::ITerrainHeightLookup
& terrainHeightLookup);
27
void
HandleTerrainHeightsRemoved(
const
Resources::Terrain::ITerrainHeightLookup
& terrainHeightLookup);
28
29
public
:
30
RoutingTerrainHeightsObserver
(
Resources::Terrain::Heights::TerrainHeightRepository
& terrainHeightRepository,
31
Fitting::RouteFittingService
& routeFittingService);
32
33
~
RoutingTerrainHeightsObserver
();
34
};
35
}
36
}
Generated on Sat Jun 10 2023 02:00:33 for eeGeo Platform SDK by
1.8.3.1