LBS C++ binding
Experimental automated C++ generation from LBS APIs defined in Franca IDL
Guidance.types.h
1 #pragma once
2 // Generated from Franca IDL Interface
3 // 2017-04-17 49:17
4 
5 /*
6  * SPDX-License-Identifier: MPL-2.0
7  *
8  * Copyright (C) 2014, PCA Peugeot Citroen, XS Embedded GmbH, TomTom
9  * International B.V., Continental Automotive GmbH, BMW Car IT GmbH,
10  * Alpine Electronics R&D Europe GmbH, AISIN AW CO., LTD., Neusoft
11  * Technology Solutions GmbH, Jaguar Land Rover Limited,
12  * Visteon Corporation, Elektrobit Automotive GmbH
13  *
14  * This Source Code Form is subject to the terms of the
15  * Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with
16  * this file, you can obtain one at http://mozilla.org/MPL/2.0/.
17 */
18 
19 #include "CommonTypes.types.h"
20 #include "NavigationCoreTypes.types.h"
21 #include "NavigationTypes.types.h"
22 #include "franca_types.h"
23 
24 // Typedef #0 from Guidance in package org.genivi.navigation.navigationcore
25 enum class LaneType {
26  LANE_INFO_BITMASK_STRAIGHT = 1,
27  LANE_INFO_BITMASK_SLIGHTRIGHT = 2,
28  LANE_INFO_BITMASK_RIGHT = 4,
29  LANE_INFO_BITMASK_SHARPRIGHT = 8,
30  LANE_INFO_BITMASK_RIGHTUTURN = 16,
31  LANE_INFO_BITMASK_SLIGHTLEFT = 32,
32  LANE_INFO_BITMASK_LEFT = 64,
33  LANE_INFO_BITMASK_SHARPLEFT = 128,
34  LANE_INFO_BITMASK_LEFTUTURN = 256,
35 
36 };
37 
38 // Typedef #1 from Guidance in package org.genivi.navigation.navigationcore
39 enum class Side {
40  LEFT = 128,
41  RIGHT = 131,
42  NOT_AVAILABLE = 2,
43 
44 };
45 
46 // Typedef #2 from Guidance in package org.genivi.navigation.navigationcore
47 enum class ManeuverType {
48  STRAIGHT_ON = 112,
49  CROSSROAD = 113,
50  ROUNDABOUT = 114,
51  HIGHWAY_ENTER = 115,
52  HIGHWAY_EXIT = 116,
53  FOLLOW_SPECIFIC_LANE = 117,
54  DESTINATION = 118,
55  WAYPOINT = 119,
56  TURN = 120,
57  BIFURCATION = 121,
58 
59 };
60 
61 // Typedef #3 from Guidance in package org.genivi.navigation.navigationcore
62 enum class ManeuverDirectionType {
63  DIRECTION = 576,
64  EXIT_NUMBER = 577,
65  ROAD_FORM = 578,
66  LANE_INFO = 579,
67 
68 };
69 
70 // Typedef #4 from Guidance in package org.genivi.navigation.navigationcore
71 enum class LaneDivider {
72  DIVIDER_UNDEFINED = 592,
73  DIVIDER_INTERRUPTEDLONG = 593,
74  DIVIDER_INTERRUPTEDSHORT = 594,
75  DIVIDER_SOLIDSINGLE = 595,
76  DIVIDER_SOLIDDOUBLE = 596,
77  DIVIDER_SOLIDINTERRUPTED = 597,
78  DIVIDER_INTERRUPTEDSOLID = 598,
79 
80 };
81 
82 // Typedef #5 from Guidance in package org.genivi.navigation.navigationcore
84  UInt32 waypointOffset;
85  UInt32 travelTime;
86  Int32 direction;
87  Side side;
88  Int16 timeZone;
89  Int16 daylightSavingTime;
90  Boolean isDestination;
91  UInt16 number;
92 };
93 
94 // Typedef #6 from Guidance in package org.genivi.navigation.navigationcore
95 enum class ManeuverDirection {
96  STRAIGHT = 127,
97  LEFT = 128,
98  SLIGHT_LEFT = 129,
99  HARD_LEFT = 130,
100  RIGHT = 131,
101  SLIGHT_RIGHT = 132,
102  HARD_RIGHT = 133,
103  UTURN_RIGHT = 134,
104  UTURN_LEFT = 135,
105 
106 };
107 
108 // Typedef #7 from Guidance in package org.genivi.navigation.navigationcore
109 enum class PromptMode {
110  DISABLED_PROMPT = 65,
111  AUTOMATIC_PROMPT = 66,
112  MANUAL_PROMPT = 67,
113 
114 };
115 
116 // Typedef #8 from Guidance in package org.genivi.navigation.navigationcore
117 enum class ManeuverPhase {
118  CRUISE = 80,
119  MANEUVER_APPEARED = 81,
120  PRE_ADVICE = 82,
121  ADVICE = 83,
122  PASSED = 84,
123 
124 };
125 
126 // Typedef #9 from Guidance in package org.genivi.navigation.navigationcore
127 enum class GuidanceStatus {
128  ACTIVE = 96,
129  INACTIVE = 97,
130 
131 };
132 
133 // Typedef #10 from Guidance in package org.genivi.navigation.navigationcore
134 enum class RoadProperty {
135  DEFAULT = 65534,
136  TOLL_ROADS = 369,
137 
138 };
139 
140 // Typedef #11 from Guidance in package org.genivi.navigation.navigationcore
141 struct LaneInfo {
142  UInt32 laneIndex;
143  ByteBuffer laneDirections;
144  LaneType directionToFollow;
145  LaneDivider divider;
146 };
147 
148 // Typedef #12 from Guidance in package org.genivi.navigation.navigationcore
149 enum class CalculationMode {
150  ALL_MANUAL = 144,
151  ALL_AUTOMATIC = 145,
152  TRAFFIC_MANUAL = 146,
153  OFF_ROUTE_MANUAL = 147,
154 
155 };
156 
157 // Typedef #13 from Guidance in package org.genivi.navigation.navigationcore
158 enum class RoadForm {
159  ROAD_REGULAR = 561,
160  ROAD_HIGHWAY_MOTORWAY = 562,
161  ROAD_FERRY = 563,
162 
163 };
164 
165 // Typedef #14 from Guidance in package org.genivi.navigation.navigationcore
166 enum class RouteChangedCause {
167  TRAFFIC = 528,
168  OFF_ROUTE = 529,
169  MANUAL = 530,
170 
171 };
172 
173 // Typedef #15 from Guidance in package org.genivi.navigation.navigationcore
175  ManeuverDirection enumValue;
176  UInt16 uint16Value;
177  String stringValue;
178  RoadForm roadFormValue;
179  std::vector<LaneInfo> laneInfoValue;
180  Coordinate3D coordinate3DValue;
181 };
182 
183 // Typedef #16 from Guidance in package org.genivi.navigation.navigationcore
184 enum class ManeuverDataAttribute {
185  LENGTH = 608,
186  DIRECTION = 576,
187  EXIT_NUMBER = 577,
188  ROAD_FORM = 578,
189  LANE_INFO = 579,
190  COORDINATE = 613,
191 
192 };
193 
194 // Typedef #17 from Guidance in package org.genivi.navigation.navigationcore
195 typedef std::map<ManeuverDataAttribute, ManeuverDataValue> ManeuverData;
196 
197 // Typedef #18 from Guidance in package org.genivi.navigation.navigationcore
198 struct ManeuverItem {
199  UInt32 offsetOfManeuver;
200  UInt32 travelTime;
201  ManeuverDirectionType direction;
202  ManeuverType maneuver;
203  ManeuverData maneuverData;
204 };
205 
206 // Typedef #19 from Guidance in package org.genivi.navigation.navigationcore
207 struct Maneuver {
208  std::vector<RoadShield> roadShieldsAfterManeuver;
209  String countryCodeAfterManeuver;
210  String stateCodeAfterManeuver;
211  String roadNumberAfterManeuver;
212  String roadNameAfterManeuver;
213  RoadProperty roadPropertyAfterManeuver;
214  Side drivingSide;
215  UInt32 offsetOfNextManeuver;
216  std::vector<ManeuverItem> items;
217 };
Definition: Guidance.types.h:83
Definition: Guidance.types.h:174
Definition: NavigationTypes.types.h:28
Definition: Guidance.types.h:198
Definition: Guidance.types.h:207
Definition: Guidance.types.h:141