| 75 | } |
| 76 | |
| 77 | void 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 | |
| 86 | TrackStatistics GpsTrack::GetTrackStatistics() const |
| 87 | { |