Go to the documentation of this file.
46 typedef std::shared_ptr<Store>
Ptr;
90 bool use_magic =
true,
91 bool use_embedded_geometry =
true,
92 bool use_geometry_store =
false);
205 bool storeGeometry(GeometryStore &gs);
212 bool restoreGeometry(
const GeometryStore &gs);
219 bool checkGeometry(
const GeometryStore &gs);
223 bool use_embedded_geometry_;
224 bool use_geometry_store_;
226 typedef std::map<lane::LaneId, lane::Lane::Ptr> LaneMap;
227 typedef std::map<landmark::LandmarkId, landmark::Landmark::Ptr> LandmarkMap;
228 typedef std::map<PartitionId, lane::LaneIdList> PartLaneMap;
229 typedef std::map<PartitionId, landmark::LandmarkIdList> PartLandmarkMap;
233 LandmarkMap landmark_map_;
234 PartLaneMap part_lane_map_;
235 PartLandmarkMap part_landmark_map_;
namespace ad
Definition: GeometryStoreItem.hpp:28
Autonomus Driving Map Store.
Definition: Store.hpp:40
bool isValid(MapMetaData const &metaData, bool const logErrors=true)
checks if the given MapMetaData is valid
Definition: Operation.hpp:39
Interface for Serializer.
Definition: ISerializer.hpp:34
point::BoundingSphere getBoundingSphere() const
DataType LandmarkId.
Definition: LandmarkId.hpp:66
std::vector<::ad::map::lane::LaneId > LaneIdList
DataType LaneIdList.
Definition: LaneIdList.hpp:44
landmark::LandmarkIdList getLandmarks() const
Method to be called to retrieve identifiers of all Landmarks in the Store.
std::shared_ptr< Store > Ptr
Smart pointer to the Store.
Definition: Store.hpp:46
std::vector<::ad::map::landmark::LandmarkId > LandmarkIdList
DataType LandmarkIdList.
Definition: LandmarkIdList.hpp:44
bool save(serialize::ISerializer &serializer, bool use_magic=true, bool use_embedded_geometry=true, bool use_geometry_store=false)
Save current AD Map Data Store.
DataType LaneId.
Definition: LaneId.hpp:66
Store & operator=(Store const &other)=delete
Copy operator deleted.
performs map matching of a given point to the map
Definition: AdMapMatching.hpp:38
lane::LaneIdList getLanes() const
Method to be called to retrieve identifiers of all Lanes in the Store.
DataType PartitionId.
Definition: PartitionId.hpp:66
void removePartition(PartitionId partition_id)
Method to be called to remove all content belonging to specific partition and the partition itself.
DataType BoundingSphere.
Definition: BoundingSphere.hpp:46
lane::Lane::ConstPtr getLanePtr(lane::LaneId const &id) const
Method to be called to retrieve Lane from the Store.
std::vector<::ad::map::access::PartitionId > PartitionIdList
DataType PartitionIdList.
Definition: PartitionIdList.hpp:42
bool load(serialize::ISerializer &serializer)
Load data into the AD Map Data Store.
std::shared_ptr< Landmark const > ConstPtr
Smart pointer on constant Landmark.
Definition: Landmark.hpp:61
virtual ~Store()
Destructor. Releases all resources.
const MapMetaData & getMetaData() const
landmark::Landmark::ConstPtr getLandmarkPtr(landmark::LandmarkId id) const
Method to be called to retrieve Landmark from the Store.
Autonomus Driving Map Factory. Contains method to be used to initialize and modify content in the Sto...
Definition: Factory.hpp:36
PartitionIdList getPartitions() const
Store()
Constructor. Initializes empty Store.
physics::Distance getCumulativeLaneLength() const
Calculates cumulative length of the all lanes in the store.
std::shared_ptr< Lane const > ConstPtr
Smart pointer on constant Lane.
Definition: Lane.hpp:66