ad_map_access
SerializeableMagic.hpp
Go to the documentation of this file.
1 // ----------------- BEGIN LICENSE BLOCK ---------------------------------
2 //
3 // Copyright (C) 2018-2021 Intel Corporation
4 //
5 // SPDX-License-Identifier: MIT
6 //
7 // ----------------- END LICENSE BLOCK -----------------------------------
12 #pragma once
13 
14 #include <cstdint>
15 
17 namespace ad {
19 namespace map {
21 namespace serialize {
22 
26 enum class SerializeableMagic : uint16_t
27 {
28  String = 0x0001,
29 
30  Base = 0x0818,
31 
32  Store = Base + 0,
33  PassengerCount = Base + 1,
34  ECEFCoordinate = Base + 2,
35  ENUCoordinate = Base + 3,
36  // EgoCoordinate = Base + 4, <- not used, never implemented
37  Distance = Base + 5,
38  // Number = Base + 6, <- not used
39  Speed = Base + 7,
40  ParametricValue = Base + 8,
41  ParametricRange = Base + 9,
42  Weight = Base + 10,
43  ComplianceVer = Base + 11,
44  PartitionId = Base + 12,
45  Duration = Base + 13,
46 
47  // AreaId = Base + 100,<- not used, never implemented
48  LandmarkId = Base + 101,
49  LaneId = Base + 102,
50  // RoadId = Base + 103, <- not used, never implemented
51 
52  ECEFPoint = Base + 200,
53  ENUPoint = Base + 201,
54  // EgoPoint = Base + 202, -> not used, never implemented
55  Geometry = Base + 203,
56  Edge = Base + 204,
57  ContactLane = Base + 205,
58  Restriction = Base + 206,
59  Restrictions = Base + 207,
60  // VehicleDescriptor = Base + 208, <- not required, we don't serialize vehicle descriptors
61  // MapMatchedPosition = Base + 209, <- not required, we don't serialize map matched positions
62  Lane = Base + 210,
63  GeometryStore = Base + 211,
64  GeometryStoreItem = Base + 212,
65  // Connector = Base + 213, <-not required, the connector is not used any more
66  MapMetaData = Base + 214,
67 
68  GeoPoint = Base + 300,
69  Longitude = Base + 301,
70  Latitude = Base + 302,
71  Altitude = Base + 303,
72 
73  SpeedLimit = Base + 400,
74  // Para_Speeds = Base + 401, <- not used, as it's down to a vector
75  ParaPoint = Base + 402,
76 
77  Landmark = Base + 500,
78 
79  // special magic values
80  VectorType = 0xF016,
81  ObjectVectorType = 0xF227,
82  ObjectMapType = 0xF228,
83  ObjectPtrMapType = 0xF229,
84  ObjectPtrVectorType = 0xF337,
85  ObjectVectorMapType = 0xF337,
86 };
87 
88 } // namespace serialize
89 } // namespace map
90 } // namespace ad
ad
namespace ad
Definition: GeometryStoreItem.hpp:28
ad::map::serialize::SerializeableMagic
SerializeableMagic
Declaration of class-specific Magic Numbers.
Definition: SerializeableMagic.hpp:26
ad::map::serialize::SerializeableMagic::Base
@ Base
Basic Magic Number.