MCPcopy Create free account
hub / github.com/Smorodov/Multitarget-tracker / GetLostPeriod

Method GetLostPeriod

src/Tracker/track.cpp:622–626  ·  view source on GitHub ↗

\brief CTrack::GetLostPeriod \return

Source from the content-addressed store, hash-verified

620/// \return
621///
622double CTrack::GetLostPeriod(time_point_t currTime) const
623{
624 std::chrono::duration<double> period = currTime - m_lastDetectionTime;
625 return period.count();
626}
627
628///
629/// \brief CTrack::ResetLostTime

Callers 1

UpdateTrackingStateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected