All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
IndoorMapEntityInformationModel.h
1 #pragma once
2 
3 #include "IndoorMapEntityInformationTypes.h"
4 
5 #include "Types.h"
6 
7 #include <string>
8 
9 namespace Eegeo
10 {
11  namespace IndoorMapEntityInformation
12  {
14  {
15  public:
17  IndoorMapEntityInformationModelId id,
18  const std::string& indoorMapId,
19  IndoorMapEntityLoadState::Type loadState,
20  IIndoorMapEntityInformationChangedEvent& indoorMapEntityInformationChangedEvent
21  );
22 
23  IndoorMapEntityInformationModelId GetId() const { return m_id; }
24 
25  const std::string& GetIndoorMapId() const { return m_indoorMapId; }
26 
27  IndoorMapEntityLoadState::Type GetLoadState() const { return m_loadState; }
28 
29  void Update(
30  IndoorMapEntityLoadState::Type loadState
31  );
32 
33  private:
34  IndoorMapEntityInformationModelId m_id;
35  std::string m_indoorMapId;
36  IndoorMapEntityLoadState::Type m_loadState;
37  IIndoorMapEntityInformationChangedEvent& m_indoorMapEntityInformationChangedEvent;
38  };
39  }
40 }