LBS C++ binding
Experimental automated C++ generation from LBS APIs defined in Franca IDL
Routing.h
1 /*
2  * SPDX-License-Identifier: MPL-2.0
3  *
4  * Copyright (C) 2014, PCA Peugeot Citroen, XS Embedded GmbH, TomTom
5  * International B.V., Continental Automotive GmbH, BMW Car IT GmbH,
6  * Alpine Electronics R&D Europe GmbH, AISIN AW CO., LTD., Neusoft
7  * Technology Solutions GmbH, Jaguar Land Rover Limited,
8  * Visteon Corporation, Elektrobit Automotive GmbH
9  *
10  * This Source Code Form is subject to the terms of the
11  * Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with
12  * this file, you can obtain one at http://mozilla.org/MPL/2.0/.
13 */
14 #pragma once
15 // Generated from Franca IDL Interface
16 // 2017-04-17 49:17
17 
18 #include "CommonTypes.types.h"
19 #include "NavigationCoreTypes.types.h"
20 #include "NavigationTypes.types.h"
21 #include "Routing.types.h"
22 
23 class Routing {
24 public:
25  Routing();
26  Routing(const Routing &c);
27  Routing &operator=(const Routing &c);
28  ~Routing();
29 
30  void getVersion(Version &interfaceversion);
31 
32  void createRoute(Handle sessionHandle, Handle &routeHandle);
33 
34  void deleteRoute(Handle sessionHandle, Handle routeHandle);
35 
36  void setCostModel(Handle sessionHandle, Handle routeHandle,
37  CostModel costModel);
38 
39  void getCostModel(Handle routeHandle, CostModel &costModel);
40 
41  void getSupportedCostModels(std::vector<CostModel> &costModelsList);
42 
43  void
44  setRoutePreferences(Handle sessionHandle, Handle routeHandle,
45  String countryCode,
46  std::vector<RoadPreference> roadPreferenceList,
47  std::vector<ConditionPreference> conditionPreferenceList);
48 
49  void getRoutePreferences(
50  Handle routeHandle, String countryCode,
51  std::vector<RoadPreference> &roadPreferenceList,
52  std::vector<ConditionPreference> &conditionPreferenceList);
53 
54  void getSupportedRoutePreferences(
55  std::vector<RoadPreference> &routePreferencesList,
56  std::vector<ConditionPreference> &conditionPreferenceList);
57 
58  void setRouteSchedule(Handle sessionHandle, Handle routeHandle,
59  RouteSchedule routeSchedule);
60 
61  void getRouteSchedule(Handle routeHandle,
62  std::vector<Schedule> valuesToReturn,
63  RouteSchedule &routeSchedule);
64 
65  void setTransportationMeans(
66  Handle sessionHandle, Handle routeHandle,
67  std::vector<TransportationMeans> transportationMeansList);
68 
69  void getTransportationMeans(
70  Handle routeHandle,
71  std::vector<TransportationMeans> &transportationMeansList);
72 
73  void getSupportedTransportationMeans(
74  std::vector<TransportationMeans> &transportationMeansList);
75 
76  void setExcludedAreas(Handle sessionHandle, Handle routeHandle,
77  std::vector<Polygon> excludedAreas);
78 
79  void getExcludedAreas(Handle routeHandle,
80  std::vector<Polygon> &excludedAreas);
81 
82  void setWaypoints(Handle sessionHandle, Handle routeHandle,
83  Boolean startFromCurrentPosition,
84  std::vector<WayPoint> waypointsList);
85 
86  void getWaypoints(Handle routeHandle, Boolean &startFromCurrentPosition,
87  std::vector<WayPoint> &waypointsList);
88 
89  void calculateRoute(Handle sessionHandle, Handle routeHandle);
90 
91  void cancelRouteCalculation(Handle sessionHandle, Handle routeHandle);
92 
93  void calculateAlternativeRoutes(Handle sessionHandle, Handle calculatedRoute,
94  UInt16 numberOfAlternativeRoutes,
95  std::vector<Handle> &alternativeRoutesList);
96 
97  void getRouteSegments(Handle routeHandle, Int16 detailLevel,
98  std::vector<RouteSegmentType> valuesToReturn,
99  UInt32 numberOfSegments, UInt32 offset,
100  UInt32 &totalNumberOfSegments,
101  std::vector<RouteSegment> &routeSegments);
102 
103  void getRouteOverview(Handle routeHandle,
104  std::vector<RouteOverviewType> valuesToReturn,
105  RouteOverview &routeOverview);
106 
107  void getRouteBoundingBox(Handle routeHandle, Rectangle &boundingBox);
108 
109  void getAllRoutes(std::vector<Handle> &routesList);
110 
111  void
112  setBlockedRouteStretches(Handle sessionHandle, Handle routeHandle,
113  std::vector<BlockedRouteElement> blockParameters);
114 
115  void
116  getBlockedRouteStretches(Handle routeHandle,
117  std::vector<BlockedRouteElement> &blockParameters);
118 
119 private:
120  // none
121 };
Definition: Routing.h:23
Definition: NavigationTypes.types.h:33
Definition: CommonTypes.types.h:22