1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
|
/*
SPDX-License-Identifier: MPL-2.0
Copyright (C) 2014, PCA Peugeot Citro�n, XS Embedded GmbH, TomTom International B.V., Continental Automotive GmbH, BMW Car IT GmbH, Alpine Electronics R&D Europe GmbH, AISIN AW CO., LTD., Neusoft Technology Solutions GmbH, Jaguar Land Rover Limited, Visteon Corporation, Elektrobit Automotive GmbH
This Source Code Form is subject to the terms of the
Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with
this file, you can obtain one at http://mozilla.org/MPL/2.0/.
*/
package org.genivi.navigation.navigationcore
import org.genivi.navigation.NavigationTypes.* from "../NavigationTypes.fidl"
typeCollection RoutingTypes {
// enumeration CalculationStatus extends BasicEnum { //Base 0x0130
enumeration CalculationStatus { //Base 0x0130
INVALID = 0
CALCULATION_OK = 304
NO_POSITION = 305
}
// enumeration CalculationError extends BasicEnum {
enumeration CalculationError {
INVALID = 0
UNMATCHED_POSITION = 306
UNREACHABLE_DESTINATION = 307
UNFULFILLED_PREFERENCE_MODE = 308
}
// enumeration CostModel extends BasicEnum { //Base 0x0160
enumeration CostModel { //Base 0x0160
INVALID = 0
FASTEST = 352
SHORTEST = 353
ECOLOGICAL = 354
SCENIC = 355
EASY = 356
OFF_ROAD = 357 //to be confirmed
BALANCED = 358
CHEAPEST = 359
}
// enumeration RoutePreferenceSource extends BasicEnum { //Base 0x0170
enumeration RoutePreferenceSource { //Base 0x0170
INVALID = 0
FERRY = 368
TOLL_ROADS = 369
TUNNELS = 370
HIGHWAYS_MOTORWAYS = 371
VEHICLE_SIZE_LIMIT = 372
CRIME_AREAS = 373
}
// enumeration TransportationMeans extends BasicEnum { //Base 0x0180
enumeration TransportationMeans { //Base 0x0180
INVALID = 0
BY_CAR = 384
ON_FOOT = 385
LONG_RANGE_TRAINS = 386
PUBLIC_TRANSPORTATION = 387
BY_BICYCLE = 388
BY_TRUCK = 389
}
// enumeration Schedule extends BasicEnum {
enumeration Schedule {
INVALID = 0
ARRIVAL_TIME = 394
ARRIVAL_DATE = 395
DEPARTURE_TIME = 396
DEPARTURE_DATE = 397
}
enumeration RouteOverviewType extends Schedule {
TOTAL_TIME = 398
TOTAL_DISTANCE = 399
}
// enumeration PreferenceMode extends BasicEnum { //Base 0x0190
enumeration PreferenceMode { //Base 0x0190
INVALID = 0
PROHIBIT = 400
AVOID = 401
USE = 402
PREFER = 403
IGNORE = 404
}
// enumeration ConditionPreferenceSource extends BasicEnum { //Base 0x0200
enumeration ConditionPreferenceSource { //Base 0x0200
INVALID = 0
TRAFFIC_REALTIME = 512
}
<**
@description : struct generated for DBus argument SetRoutePreferences_roadPreferenceList
**>
struct RoutePreference {
PreferenceMode mode
RoutePreferenceSource source
}
<**
@description : struct generated for DBus argument SetRoutePreferences_conditionPreferenceList
**>
struct ConditionPreference {
PreferenceMode mode
ConditionPreferenceSource source
}
map RouteSchedule {
Schedule to UInt32
}
enumeration WaypointElementType extends GeoLocalizedEnum {
WAYPOINT_TYPE = 289
LOCATION_INPUT = 17
}
// enumeration RouteSegmentType extends BasicEnum {
enumeration RouteSegmentType {
INVALID = 0
LINK_ID = 320 //Base 0x0140
START_LATITUDE = 321
END_LATITUDE = 322
START_LONGITUDE = 323
END_LONGITUDE = 324
START_ALTITUDE = 325
END_ALTITUDE = 326
ROAD_NAME = 327
DISTANCE = 328
TIME = 329
MANEUVER = 330
INSTRUCTION = 331
BORDER_CROSSING = 332
ADDITIONAL_INFORMATION = 333
ROAD_NUMBER = 334
START_OFFSET = 335
INTERMEDIATE_POINTS = 288
HIGHWAY_EXIT = 116
ALL = 65535
}
enumeration IntermediatePointType {
HARD_POINT
SOFT_POINT
}
union RouteOverviewItem {
UInt32 uValue
}
struct IntermediatePoint extends Coordinate2D {
IntermediatePointType type
}
//TODO: Incomplete
union RouteSegmentItem {
Double doubleValue // LATITUDE, LONGITUDE, ALTITUDE
IntermediatePoint intermediatePoints
String stringValue // ROAD_NUMBER
ByteBuffer linkId
Int32 int32Value
Int16 int16Value
UInt32 uInt32Value
}
union WayPointItem {
Double coordinateValue
Int32 altitudeValue
IntermediatePointType wayPointValue
ByteBuffer metaData
}
map WayPoint {
WaypointElementType to WayPointItem
}
map RouteSegment {
RouteSegmentType to RouteSegmentItem
}
map RouteOverview {
RouteOverviewType to RouteOverviewItem
}
<**
@description : struct generated for DBus argument SetBlockedRouteStretches_blockParameters
**>
struct BlockedRouteElement {
UInt32 offset
UInt32 length
}
}
|