All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
PointOnMapBuilder.h
1 #pragma once
2 
3 #include "Positioning.h"
4 #include "PointOnMapCreateParams.h"
5 
6 namespace Eegeo
7 {
8  namespace Positioning
9  {
11  {
12  public:
14 
15  PointOnMapBuilder(const PointOnMapCreateParams& createParams);
16 
17  PointOnMapBuilder& SetCoordinate(double latitudeDegrees, double longitudeDegrees);
18 
19  PointOnMapBuilder& SetElevationMode(ElevationMode::Type elevationMode);
20 
21  PointOnMapBuilder& SetElevation(double elevationMetres);
22 
23  PointOnMapBuilder& SetIndoorMapWithDefaultFloor(const std::string& indoorMapId);
24 
25  PointOnMapBuilder& SetIndoorMap(const std::string& indoorMapId, int indoorMapFloorId);
26 
27  PointOnMapBuilder& SetIndoorMapWithFloorIndex(const std::string& indoorMapId, int indoorMapFloorIndex);
28 
29  PointOnMapCreateParams Build();
30 
31  private:
32  double m_latitudeDegrees;
33  double m_longitudeDegrees;
34  double m_elevation;
35  ElevationMode::Type m_elevationMode;
36  std::string m_indoorMapId;
37  int m_indoorMapFloorId;
38  int m_indoorMapFloorIndex;
39  bool m_usingFloorIndex;
40  bool m_usingDefaultFloor;
41  };
42 
43 
44  }
45 }