MCPcopy Create free account
hub / github.com/comaps/comaps / AttachTrack

Method AttachTrack

libs/map/bookmark_manager.cpp:512–518  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

510}
511
512void BookmarkManager::AttachTrack(kml::TrackId trackId, kml::MarkGroupId groupId)
513{
514 CHECK_THREAD_CHECKER(m_threadChecker, ());
515 auto it = m_tracks.find(trackId);
516 it->second->Attach(groupId);
517 GetBmCategory(groupId)->AttachTrack(trackId);
518}
519
520void BookmarkManager::DetachTrack(kml::TrackId trackId, kml::MarkGroupId groupId)
521{

Callers

nothing calls this directly

Calls 2

findMethod · 0.45
AttachMethod · 0.45

Tested by

no test coverage detected