All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
JsonRouteParser.h
1 // Copyright eeGeo Ltd (2016), All Rights Reserved
2 
3 #pragma once
4 
5 #include "Routes.h"
6 #include "RouteStyle.h"
7 #include "Tasks.h"
8 #include "Interiors.h"
9 #include "Helpers.h"
10 #include "PendingWorkItemContainer.h"
11 #include "VectorMath.h"
12 
13 #include <string>
14 
15 
16 namespace Eegeo
17 {
18  namespace Routes
19  {
20  namespace Webservice
21  {
23  {
25  static Eegeo::v4 ms_defaultColor;
26 
27  public:
29  : m_workPool(workPool)
30  {
31  }
32 
33  void CreateRouteFromJSON(const std::string& json,
34  Routes::RouteService& routeService,
35  const Eegeo::Routes::Style::RouteStyle& routeStyle,
36  Eegeo::v4& color = ms_defaultColor);
37 
38  void CreateRouteFromJSON(const std::string& json,
39  Routes::RouteService& routeService,
40  const Eegeo::Routes::Style::RouteStyle& routeStyle,
41  Eegeo::Concurrency::PendingWorkItemContainer& routeParseRequestsContainer,
42  Eegeo::v4& color = ms_defaultColor);
43  };
44  }
45  }
46 }