All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
TrafficCongestionModelCell.h
1 // Copyright (c) 2014 eeGeo. All rights reserved.
2 #pragma once
3 
4 #include "Types.h"
5 #include "TrafficCongestionConfig.h"
6 #include "MortonKey.h"
7 
8 namespace Eegeo
9 {
10  namespace TrafficCongestion
11  {
13  {
14  public:
15  typedef std::map<int, Eegeo::TrafficCongestion::CongestionLevel::CongestionLevelValues> TRoadIdToSeverity;
16 
18  : m_key(m_key)
19  {
20 
21  }
22 
23  inline const Streaming::MortonKey& GetKey() const
24  {
25  return m_key;
26  }
27 
28  void SetCongestion(
29  const int roadId,
30  const Eegeo::TrafficCongestion::CongestionLevel::CongestionLevelValues severity);
31 
32  const TrafficCongestionModelCell::TRoadIdToSeverity& GetData() const;
33 
34  private:
36  TRoadIdToSeverity m_roadIdToSeverity;
37  };
38  }
39 }