All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
MapLayersModule.h
1 // Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2 
3 #pragma once
4 
5 #include "MapLayers.h"
6 #include "Labels.h"
7 #include "Markers.h"
8 #include "Modules.h"
9 #include "Config.h"
10 #include "Types.h"
11 #include "Icons.h"
12 #include "Terrain.h"
13 #include "Rendering.h"
14 
15 namespace Eegeo
16 {
17  namespace MapLayers
18  {
20  {
21  public:
22  static MapLayersModule* Create(Labels::LabelsModule& labelsModule,
23  Modules::Map::Layers::InteriorsPresentationModule& interiorsPresentationModule,
24  Modules::Map::Layers::InteriorsStreamingModule& interiorsStreamingModule,
25  Rendering::EnvironmentFlatteningService& environmentFlatteningService,
26  const Eegeo::Config::PlatformConfig& platformConfig);
27 
28  virtual ~MapLayersModule();
29 
30  MapCollapseModel& GetEnvironmentFlatteningUserModel() const;
31 
32  const IMapViewModeModel& GetMapViewModeModel() const;
33 
34  MapViewModeChangedEvent& GetMapViewModeChangedEvent() const;
35 
36  void Update(float dt);
37 
38  private:
39  MapLayersModule(LabelFilterController* pLabelFilterController,
40  EnvironmentFlatteningController* pEnvironmentFlatteningController,
41  MapCollapseModelChangedEvent* pEnvironmentFlatteningUserModelChangedEvent,
42  MapCollapseModel* pEnvironmentFlatteningUserModel,
43  IMapViewModeModel* pMapViewModeModel,
44  MapViewModeController* pMapViewModeController,
45  IndoorMapVisibilityController* pIndoorMapVisibilityController,
46  MapViewModeChangedEvent* pMapViewModeChangedEvent
47  );
48 
49  LabelFilterController* m_pLabelFilterController;
50  EnvironmentFlatteningController* m_pEnvironmentFlatteningController;
51  MapCollapseModelChangedEvent* m_pEnvironmentFlatteningUserModelChangedEvent;
52  MapCollapseModel* m_pEnvironmentFlatteningUserModel;
53  IMapViewModeModel* m_pMapViewModeModel;
54  MapViewModeController* m_pMapViewModeController;
55  IndoorMapVisibilityController* const m_pIndoorMapVisibilityController;
56  MapViewModeChangedEvent* m_pMapViewModeChangedEvent;
57 
58  };
59 
60  }
61 }