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

Method IsStaticTimeout

src/Tracker/track.cpp:402–413  ·  view source on GitHub ↗

\brief CTrack::IsStaticTimeout \param framesTime \return

Source from the content-addressed store, hash-verified

400/// \return
401///
402bool CTrack::IsStaticTimeout(time_point_t currTime, double staticPeriod) const
403{
404 if (m_isStatic)
405 {
406 std::chrono::duration<double> period = currTime - m_staticStartTime;
407 return period.count() > staticPeriod;
408 }
409 else
410 {
411 return false;
412 }
413}
414
415///
416/// \brief CTrack::IsOutOfTheFrame

Callers 1

UpdateTrackingStateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected