All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
MapCameraDerivedStateModel.h
1 #pragma once
2 
3 
4 #include "MapCamera.h"
5 #include "CameraState.h"
6 #include "Types.h"
7 #include "ScreenProperties.h"
8 
9 
10 namespace Eegeo
11 {
12  namespace Camera
13  {
14  namespace MapCamera
15  {
17  {
18  public:
19  MapCameraDerivedStateModel(IMapCameraDerivedStateChangedEvent& mapCameraDerivedStateModelChangedEvent);
20 
21  const Eegeo::Camera::CameraState& GetCameraState() const { return m_cameraState; }
22  double GetZoomLevel() const { return m_zoomLevel; }
23 
24  void SetDerivedState(
25  const ::Eegeo::Camera::CameraState& cameraState,
26  double zoomLevel
27  );
28 
29  private:
30  IMapCameraDerivedStateChangedEvent& m_mapCameraDerivedStateModelChangedEvent;
31  Eegeo::Camera::CameraState m_cameraState;
32 
33  double m_zoomLevel;
34  };
35  }
36  }
37 }