Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Routes
Webservice
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
{
22
class
JsonRouteParser
23
{
24
Concurrency::Tasks::IWorkPool
& m_workPool;
25
static
Eegeo::v4
ms_defaultColor;
26
27
public
:
28
JsonRouteParser
(
Concurrency::Tasks::IWorkPool
& workPool)
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
}
Generated on Sat Jun 10 2023 02:00:33 for eeGeo Platform SDK by
1.8.3.1