Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Transport
TransportTiledGraphObserver.h
1
#pragma once
2
3
#include "Transport.h"
4
#include "Types.h"
5
#include "Graphs.h"
6
#include "ICallback.h"
7
#include "Streaming.h"
8
9
namespace
Eegeo
10
{
11
namespace
Transport
12
{
13
class
TransportTiledGraphObserver
:
private
Eegeo::NonCopyable
14
{
15
public
:
16
TransportTiledGraphObserver
(
17
TransportNetwork::Type transportNetworkType,
18
Graphs::TiledGraph
& tiledGraph,
19
ITransportGraphChangedEvent
& transportGraphChangedEvent
20
);
21
22
~
TransportTiledGraphObserver
();
23
private
:
24
25
void
OnCellAdded(
const
Streaming::MortonKey
& cellKey);
26
void
OnCellRemoved(
const
Streaming::MortonKey
& cellKey);
27
void
OnCellUpdated(
const
Streaming::MortonKey
& cellKey);
28
29
const
TransportNetwork::Type m_transportNetworkType;
30
Graphs::TiledGraph
& m_tiledGraph;
31
ITransportGraphChangedEvent
& m_transportGraphChangedEvent;
32
33
Helpers::TCallback1<TransportTiledGraphObserver, const Streaming::MortonKey>
m_cellAddedHandler;
34
Helpers::TCallback1<TransportTiledGraphObserver, const Streaming::MortonKey>
m_cellRemovedHandler;
35
Helpers::TCallback1<TransportTiledGraphObserver, const Streaming::MortonKey>
m_cellUpdatedHandler;
36
};
37
38
}
39
}
Generated on Sat Jun 10 2023 02:00:34 for eeGeo Platform SDK by
1.8.3.1