All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
EnvironmentFlatteningController.h
1 #pragma once
2 
3 
4 #include "MapLayers.h"
5 #include "Types.h"
6 #include "Rendering.h"
7 #include "Interiors.h"
8 #include "ICallback.h"
9 
10 namespace Eegeo
11 {
12  namespace MapLayers
13  {
15  {
16  public:
18  Resources::Interiors::InteriorTransitionModel& interiorTransitionModel,
19  const MapCollapseModel& mapCollapseModel,
20  MapCollapseModelChangedEvent& mapCollapseModelChangedEvent,
21  const bool collapseMapWhenIndoors,
22  const bool enabled
23  );
24 
26  private:
27  void OnInteriorTransitionModelChanged();
28 
29  void OnMapCollapseModelChanged();
30 
31  void RefreshEnvironmentFlatteningState();
32 
33  Eegeo::Rendering::EnvironmentFlatteningService& m_environmentFlatteningService;
34  Resources::Interiors::InteriorTransitionModel& m_interiorTransitionModel;
35  const MapCollapseModel& m_mapCollapseModel;
36  MapCollapseModelChangedEvent& m_mapCollapseModelChangedEvent;
37  const bool m_collapseMapWhenIndoors;
38  const bool m_enabled;
39  Helpers::TCallback0<EnvironmentFlatteningController> m_interiorTransitionModelChanged;
40  Helpers::TCallback0<EnvironmentFlatteningController> m_environmentFlatteningUserModelChanged;
41  };
42  }
43 }
44 
45 
46