MCPcopy Create free account
hub / github.com/Tencent/TAD_Sim / insertObjects

Method insertObjects

common/map_sdk/map_engine/src/mem_search.cpp:946–954  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

944}
945
946int MemSearch::insertObjects(const hadmap::txObjects& objects) {
947 if (true == mapPtr->insertObjects(objects)) {
948 hadmap::txRoads roads;
949 getRoads(false, roads);
950 mOutPtr->insertObjects(objects, roads);
951 return TX_HADMAP_DATA_OK;
952 }
953 return TX_HADMAP_DATA_ERROR;
954}
955
956int MemSearch::updateObjects(const hadmap::txObjects& objects) {
957 std::vector<objectpkid> objectIds;

Callers 5

saveMapMethod · 0.45
updateObjectsMethod · 0.45
initMethod · 0.45
OpenDriveSearchMethod · 0.45
insertObjectsFunction · 0.45

Calls 1

getRoadsFunction · 0.85

Tested by

no test coverage detected