Autonomus Driving Map Store.
More...
#include <ad/map/access/Store.hpp>
|
class | Factory |
|
class | match::AdMapMatching |
|
Autonomus Driving Map Store.
◆ empty()
bool ad::map::access::Store::empty |
( |
| ) |
const |
- Returns
- true if there are no data in the store.
◆ getBoundingSphere()
- Returns
- The calculated bounding sphere of all lanes in the store.
◆ getCumulativeLaneLength()
physics::Distance ad::map::access::Store::getCumulativeLaneLength |
( |
| ) |
const |
Calculates cumulative length of the all lanes in the store.
- Returns
- Cumulative length of all lanes in the store.
◆ getLandmarkPtr()
Method to be called to retrieve Landmark from the Store.
- Parameters
-
[in] | id | Landmark identifier. |
- Returns
- Landmark with given identifier. Returned object may be empty if id is not valid or if Landmark does not exists in the store.
◆ getLandmarks() [1/2]
Method to be called to retrieve identifiers of all Landmarks in the Store.
- Returns
- Identifiers of all landmarks in the store.
◆ getLandmarks() [2/2]
Retrieve identifiers of all Landmarks belonging to specific partition.
- Parameters
-
[in] | partition_id | Partition identifier. |
- Returns
- Identifiers of all lanes in the store.
◆ getLanePtr()
Method to be called to retrieve Lane from the Store.
- Parameters
-
- Returns
- Lane with given identifier. Returned object may be empty if id is not valid or if Lane does not exists in the store.
◆ getLanes() [1/4]
Method to be called to retrieve identifiers of all Lanes in the Store.
- Returns
- Identifiers of all lanes in the store.
◆ getLanes() [2/4]
Retrieve identifiers of all Lanes belonging to specific partition.
- Parameters
-
[in] | partition_id | Partition identifier. |
- Returns
- Identifiers of all lanes in the store.
◆ getLanes() [3/4]
Method to be called to retrieve identifiers of filtered Lanes from partition.
- Parameters
-
[in] | partition_id | Partition identifier. |
[in] | type_filter | Type of the lane as string. |
[in] | is_hov | True if only lanes with HOV restriction shall be returned. |
- Returns
- Identifiers of all lanes in the tile that satisfy given conditions.
◆ getLanes() [4/4]
lane::LaneIdList ad::map::access::Store::getLanes |
( |
std::string const & |
type_filter, |
|
|
bool |
is_hov |
|
) |
| const |
Method to be called to retrieve identifiers of filtered Lanes in the Store.
- Parameters
-
[in] | type_filter | Type of the lane as string. |
[in] | is_hov | True if only lanes with HOV restriction shall be returned. |
- Returns
- Identifiers of all lanes in the store that satisfy given conditions.
◆ getMetaData()
const MapMetaData& ad::map::access::Store::getMetaData |
( |
| ) |
const |
- Returns
- MetaData of the map.
◆ getPartitions()
- Returns
- Partitions currently present in the map.
◆ load()
Load data into the AD Map Data Store.
- Parameters
-
[in] | serializer | Serializer to be used. |
- Returns
- true if successful.
◆ removePartition()
void ad::map::access::Store::removePartition |
( |
PartitionId |
partition_id | ) |
|
Method to be called to remove all content belonging to specific partition and the partition itself.
- Parameters
-
[in] | partition_id | Partition identifier. |
◆ save()
bool ad::map::access::Store::save |
( |
serialize::ISerializer & |
serializer, |
|
|
bool |
use_magic = true , |
|
|
bool |
use_embedded_geometry = true , |
|
|
bool |
use_geometry_store = false |
|
) |
| |
Save current AD Map Data Store.
- Parameters
-
[in] | serializer | Serializer to be used. |
[in] | use_magic | Use Magic Numbers for consistency during serialization. |
[in] | use_embedded_geometry | Save geometry together with objects. |
[in] | use_geometry_store | Save geometry in separate section of file. |
- Returns
- true if successful.
The documentation for this class was generated from the following file: