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

Method Clear

libs/map/gps_track.cpp:96–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96void GpsTrack::Clear()
97{
98 {
99 std::lock_guard lg(m_dataGuard);
100 m_points.clear();
101 m_needClear = true;
102 }
103 ScheduleTask();
104}
105
106size_t GpsTrack::GetSize() const
107{

Callers 10

ClearGroupMethod · 0.45
InitCollectionMethod · 0.45
UpdateStorageMethod · 0.45
UpdateCollectionMethod · 0.45
CancelSearchMethod · 0.45
DeregisterAllMapsMethod · 0.45
ClearSearchHistoryMethod · 0.45
UNIT_TESTFunction · 0.45
UNIT_TESTFunction · 0.45

Calls 1

clearMethod · 0.45

Tested by 2

UNIT_TESTFunction · 0.36
UNIT_TESTFunction · 0.36