All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
MapCameraStateProvider.h
1 #pragma once
2 
3 #include "MapCamera.h"
4 #include "ICameraStateProvider.h"
5 #include "Types.h"
6 #include "MapCameraDerivedStateModel.h"
7 
8 
9 namespace Eegeo
10 {
11  namespace Camera
12  {
13  namespace MapCamera
14  {
15 
17  {
18  public:
19  MapCameraStateProvider(MapCameraDerivedStateModel& mapCameraDerivedStateModel)
20  : m_mapCameraDerivedStateModel(mapCameraDerivedStateModel)
21  {}
22 
23  Camera::CameraState GetCameraState() const
24  {
25  return m_mapCameraDerivedStateModel.GetCameraState();
26  }
27  private:
28  MapCameraDerivedStateModel& m_mapCameraDerivedStateModel;
29  };
30  }
31  }
32 }