\brief CTrack::IsStaticTimeout \param framesTime \return
| 400 | /// \return |
| 401 | /// |
| 402 | bool 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 |