LBS C++ binding
Experimental automated C++ generation from LBS APIs defined in Franca IDL
POIServiceTypes.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 "POIServiceTypes.types.h"
21 #include "franca_types.h"
22 
23 // Typedef #0 from POIServiceTypes in package org.genivi.navigation.poiservice
24 typedef UInt32 ResourceID;
25 
26 // Typedef #1 from POIServiceTypes in package org.genivi.navigation.poiservice
28  Int32 intValue;
29  String stringValue;
30  Boolean boolValue;
31 };
32 
33 // Typedef #2 from POIServiceTypes in package org.genivi.navigation.poiservice
34 enum class OperatorType {
35  MORE_THAN = 520,
36  LESS_THAN = 521,
37  EQUAL = 522,
38 
39 };
40 
41 // Typedef #3 from POIServiceTypes in package org.genivi.navigation.poiservice
43  CategoryID id;
44  String name;
45 };
46 
47 // Typedef #4 from POIServiceTypes in package org.genivi.navigation.poiservice
48 union Media {
49  std::vector<ResourceID> id;
50  String url;
51 };
52 
53 // Typedef #5 from POIServiceTypes in package org.genivi.navigation.poiservice
54 enum class AttributeType {
55  STRING = 500,
56  INTEGER = 501,
57  COORDINATES = 502,
58  BOOLEAN = 503,
59 
60 };
61 
62 // Typedef #6 from POIServiceTypes in package org.genivi.navigation.poiservice
63 typedef UInt32 AttributeID;
64 
65 // Typedef #7 from POIServiceTypes in package org.genivi.navigation.poiservice
67  CategoryID id;
68  UInt32 radius;
69 };
70 
71 // Typedef #8 from POIServiceTypes in package org.genivi.navigation.poiservice
72 typedef UInt32 POI_ID;
73 
74 // Typedef #9 from POIServiceTypes in package org.genivi.navigation.poiservice
75 struct PoiDetails {
76  POI_ID id;
77  String name;
78  Coordinate3D location;
79 };
80 
81 // Typedef #10 from POIServiceTypes in package org.genivi.navigation.poiservice
82 enum class RouteStatus {
83  OFF_ROUTE = 600,
84  ON_ROUTE = 601,
85  INSIDE_CORRIDOR = 602,
86 
87 };
88 
89 // Typedef #11 from POIServiceTypes in package org.genivi.navigation.poiservice
90 struct PoiAttribute {
91  AttributeID id;
92  AttributeType type;
93  AttributeValue value;
94 };
95 
96 // Typedef #12 from POIServiceTypes in package org.genivi.navigation.poiservice
98  AttributeID id;
99  CategoryID categoryId;
100  AttributeType type;
101  AttributeValue value;
102  OperatorType oper;
103  Boolean mandatory;
104 };
105 
106 // Typedef #13 from POIServiceTypes in package org.genivi.navigation.poiservice
107 enum class StandardCategory {
108  NOT_STANDARD_CATEGORY,
109  VEHICLE_REPAIR = 1,
110  PETROL_STATION = 2,
111  EVS_CHARGING_STATION = 3,
112  CONTROLLED_ACCESS_INTERSECTION = 4,
113  CONTROLLED_ACCESS_ENTRY_EXIT = 5,
114  CONTROLLED_ACCESS_SMART_IC = 6,
115  RENT_A_CAR = 7,
116  CAR_WASH = 8,
117  CAR_DEALERSHIP = 9,
118  MOTOR_CYCLE_DEALERSHIP = 10,
119  TRUCK_DEALERSHIP = 11,
120  PARKING_GARAGE = 12,
121  OPEN_PARKING = 13,
122  REST_AREA = 14,
123  ROAD_ASSISTANCE = 15,
124  CAMPING = 16,
125  CARAVAN_SITE = 17,
126  COACH_AND_LORRY_PARKING = 18,
127  MOTORING_ORG_OFFICE = 19,
128  CAR_SHIPPING_TERMINAL = 20,
129  HOTEL_MOTEL = 21,
130  RESTAURANT = 22,
131  FAST_FOOD = 23,
132  COFFEE_SHOP = 24,
133  BAR_OR_PUB = 25,
134  CINEMA = 26,
135  MUSEUM = 27,
136  THEATRE = 28,
137  LIBRARY = 29,
138  HOSPITAL = 30,
139  PHYSICIAN = 31,
140  DENTIST = 32,
141  PHARMACY = 33,
142  VETERINARIAN_SERVICE = 34,
143  POLICE_STATION = 35,
144  POST_OFFICE = 36,
145  CITY_HALL = 37,
146  EMBASSY = 38,
147  COURT_HOUSE = 39,
148  GOVERNMENT_OFFICE = 40,
149  COMMUNITY_CENTER = 41,
150  SHOPPING_CENTER = 42,
151  STORE = 43,
152  BANK = 44,
153  ATM = 45,
154  CURRENCY_EXCHANGE = 46,
155  TOURIST_OFFICE = 47,
156  TRAVEL_AGENCY = 48,
157  TOURIST_ATTRACTION = 49,
158  HISTORICAL_MONUMENT = 50,
159  NATIONAL_PARK = 51,
160  CITY_CENTER = 52,
161  HAMLET = 53,
162  ZOO = 54,
163  AMUSEMENT_PARK = 55,
164  GOING_OUT = 56,
165  STADIUM = 57,
166  SPORTS_CENTER = 58,
167  RECREATION = 59,
168  SKI_RESORT = 60,
169  SWIMMING_POOL = 61,
170  GOLF_COURSE = 62,
171  FERRY_TERMINAL = 63,
172  MARINA = 64,
173  HARBOUR = 65,
174  BUSINESS_FACILITY = 66,
175  EXHIBITION_CONFERENCE_CENTER = 67,
176  RAILWAY_STATION = 68,
177  PUBLIC_TRANSIT_STOP = 69,
178  PARK_AND_RIDE = 70,
179  AIRPORT = 71,
180  AIRLINE_ACCESS = 72,
181  TAXI_STAND = 73,
182  EMERGENCY_CALL_STATION = 74,
183  EMERGENCY_MEDICAL_SERVICE = 75,
184  FIRST_AID_POST = 76,
185  FIRE_BRIGADE = 77,
186  PLACE_OF_WORSHIP = 78,
187  EDUCATION = 79,
188  CUSTOMS = 80,
189  FRONTIER_CROSSING = 81,
190  TOLL_LOCATION = 82,
191  PUBLIC_RESTROOM = 83,
192  PUBLIC_PHONE = 84,
193  KINDERGARTEN = 85,
194  MOUNTAIN_PASS_SUMMIT = 86,
195  SPEED_CAMERA = 87,
196 
197 };
198 
199 // Typedef #14 from POIServiceTypes in package org.genivi.navigation.poiservice
200 union Icon {
201  std::vector<ResourceID> id;
202  String url;
203 };
204 
205 // Typedef #15 from POIServiceTypes in package org.genivi.navigation.poiservice
207  CategoryID uniqueId;
208  Boolean topLevel;
209 };
210 
211 // Typedef #16 from POIServiceTypes in package org.genivi.navigation.poiservice
213  CategoryID uniqueId;
214  String name;
215  Boolean topLevel;
216 };
217 
218 // Typedef #17 from POIServiceTypes in package org.genivi.navigation.poiservice
219 enum class UpdateReason {
220  ADDED = 700,
221  REMOVED = 701,
222  ATTR_ADDED = 702,
223  ATTR_MODIFIED = 703,
224  ATTR_REMOVED = 704,
225 
226 };
227 
228 // Typedef #18 from POIServiceTypes in package org.genivi.navigation.poiservice
230  CategoryID uniqueId;
231  Boolean status;
232 };
233 
234 // Typedef #19 from POIServiceTypes in package org.genivi.navigation.poiservice
236  String name;
237  Coordinate3D location;
238  std::vector<PoiAttribute> attributeList;
239 };
240 
241 // Typedef #20 from POIServiceTypes in package org.genivi.navigation.poiservice
242 struct Details {
243  std::vector<CategoryID> parentsId;
244  Icon icons;
245  String name;
246  String shortDesc;
247  Media media;
248 };
249 
250 // Typedef #21 from POIServiceTypes in package org.genivi.navigation.poiservice
251 struct Operator {
252  OperatorType type;
253  String name;
254  AttributeValue value;
255 };
256 
257 // Typedef #22 from POIServiceTypes in package org.genivi.navigation.poiservice
259  AttributeID id;
260  String name;
261  AttributeType type;
262  std::vector<Operator> operators;
263 };
264 
265 // Typedef #23 from POIServiceTypes in package org.genivi.navigation.poiservice
266 enum class CategoryIDSet {
267  AIRPORT = 1,
268  SPORTING = 2,
269  FERRY_TERMINAL = 3,
270  ENTERTAINMENT = 4,
271  HOTEL_MOTEL = 5,
272  RESTAURANT = 6,
273  PARKING = 7,
274  FUEL_STATION = 8,
275  SERVICE_AREA = 9,
276  CAR_REPAIR_SHOP = 10,
277  CAR_DEALER = 11,
278  CAR_RENTAL_AGENCY = 12,
279  MEDICAL = 13,
280  SHOPPING = 14,
281  BUSINESS_AREA = 15,
282  LANDMARK = 16,
283  FLASH_RADAR = 17,
284  POI_TRUCK = 18,
285  SANCTUARY = 19,
286  TOLLBOOTH = 20,
287  KIOSK = 21,
288  WATER_CLOSET = 22,
289  BANK_AND_FINANCIAL = 23,
290  TRAVEL = 24,
291  TOURIST = 25,
292  PUBLIC_BUILDING = 26,
293  RAILWAY_STATION = 27,
294  DESTINATION_FLAG = 204,
295  FAVORITE = 205,
296  FAVORITE_HOME = 206,
297  FAVORITE_ADDRESSBOOK = 207,
298  USER_IMPORT = 208,
299  USER_CONTACT = 209,
300  MOTORWAY_EXIT = 210,
301  ALL_CATEGORIES = 65535,
302 
303 };
304 
305 // Typedef #24 from POIServiceTypes in package org.genivi.navigation.poiservice
307  CategoryID uniqueId;
308  StandardCategory standardCategoryId;
309  std::vector<CategoryID> parentsId;
310  Icon icons;
311  String name;
312  Boolean topLevel;
313  String description;
314  Media media;
315 };
316 
317 // Typedef #25 from POIServiceTypes in package org.genivi.navigation.poiservice
318 struct CAMCategory {
319  Details details;
320  std::vector<CategoryAttribute> attributeList;
321  std::vector<CategorySortOption> sortOptions;
322 };
323 
324 // Typedef #26 from POIServiceTypes in package org.genivi.navigation.poiservice
325 enum class SearchStatusState {
326  NOT_STARTED = 510,
327  SEARCHING = 511,
328  FINISHED = 512,
329 
330 };
331 
332 // Typedef #27 from POIServiceTypes in package org.genivi.navigation.poiservice
334  CategoryID id;
335  std::vector<CategoryAttribute> attributeList;
336  std::vector<CategorySortOption> sortOptions;
337 };
338 
339 // Typedef #28 from POIServiceTypes in package org.genivi.navigation.poiservice
340 enum class SortOption {
341  SORT_DEFAULT = 560,
342  SORT_BY_DISTANCE = 561,
343  SORT_BY_TIME = 562,
344  ATTRIBUTE_CUSTOM = 563,
345 
346 };
347 
348 // Typedef #29 from POIServiceTypes in package org.genivi.navigation.poiservice
349 struct SearchResult {
350  POI_ID id;
351  UInt32 distance;
352  RouteStatus routeStatus;
353  std::vector<PoiAttribute> attributeList;
354 };
355 
356 // Typedef #30 from POIServiceTypes in package org.genivi.navigation.poiservice
358  CategoryID unique_id;
359  UpdateReason reason;
360 };
361 
362 // Typedef #31 from POIServiceTypes in package org.genivi.navigation.poiservice
363 enum class ConfigurationChangedReason {
364  LOCALES,
365 
366 };
367 
368 // Typedef #32 from POIServiceTypes in package org.genivi.navigation.poiservice
369 enum class Settings {
370  INVALID = 0,
371  UNITS_OF_MEASUREMENT = 48,
372  LOCALE = 37,
373  TIME_FORMAT = 3,
374  COORDINATES_FORMAT = 6,
375 
376 };
377 
378 // Typedef #33 from POIServiceTypes in package org.genivi.navigation.poiservice
380  PoiDetails details;
381  std::vector<CategoryID> categories;
382  std::vector<PoiAttribute> attributeList;
383 };
384 
385 // Typedef #34 from POIServiceTypes in package org.genivi.navigation.poiservice
386 struct Category {
387  CategoryDetails details;
388  std::vector<CategoryAttribute> attributeList;
389  std::vector<CategorySortOption> sortOptions;
390 };
391 
392 // Typedef #35 from POIServiceTypes in package org.genivi.navigation.poiservice
394  POI_ID sourceId;
395  String name;
396  CategoryID category;
397  Coordinate3D location;
398  UInt16 distance;
399  std::vector<PoiAttribute> attributeList;
400 };
401 
402 // Typedef #36 from POIServiceTypes in package org.genivi.navigation.poiservice
403 typedef UInt8 ContentAccessModuleID;
Definition: POIServiceTypes.types.h:229
Definition: POIServiceTypes.types.h:258
Definition: POIServiceTypes.types.h:306
Definition: POIServiceTypes.types.h:206
Definition: POIServiceTypes.types.h:212
Definition: POIServiceTypes.types.h:48
Definition: POIServiceTypes.types.h:318
Definition: POIServiceTypes.types.h:251
Definition: POIServiceTypes.types.h:235
Definition: NavigationTypes.types.h:28
Definition: POIServiceTypes.types.h:393
Definition: POIServiceTypes.types.h:90
Definition: POIServiceTypes.types.h:349
Definition: POIServiceTypes.types.h:42
Definition: POIServiceTypes.types.h:66
Definition: POIServiceTypes.types.h:357
Definition: POIServiceTypes.types.h:200
Definition: POIServiceTypes.types.h:242
Definition: POIServiceTypes.types.h:75
Definition: POIServiceTypes.types.h:379
Definition: POIServiceTypes.types.h:333
Definition: POIServiceTypes.types.h:97
Definition: POIServiceTypes.types.h:27
Definition: POIServiceTypes.types.h:386