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

Method AddPoints

libs/map/gps_track.cpp:77–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77void GpsTrack::AddPoints(vector<location::GpsInfo> const & points)
78{
79 {
80 std::lock_guard lg(m_dataGuard);
81 m_points.insert(m_points.end(), points.begin(), points.end());
82 }
83 ScheduleTask();
84}
85
86TrackStatistics GpsTrack::GetTrackStatistics() const
87{

Callers 1

UNIT_TESTFunction · 0.45

Calls 3

insertMethod · 0.45
endMethod · 0.45
beginMethod · 0.45

Tested by 1

UNIT_TESTFunction · 0.36