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

Method GetLine

example/CarsCounting.cpp:311–322  ·  view source on GitHub ↗

\brief CarsCounting::GetLine \param lineUid \return

Source from the content-addressed store, hash-verified

309/// \return
310///
311bool CarsCounting::GetLine(unsigned int lineUid, RoadLine& line)
312{
313 for (const auto& rl : m_lines)
314 {
315 if (rl.m_uid == lineUid)
316 {
317 line = rl;
318 return true;
319 }
320 }
321 return false;
322}
323
324///
325/// \brief CarsCounting::RemoveLine

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected