| 59 | } |
| 60 | |
| 61 | bool CaptureData::IsCounterIdInCaptureData(uint16_t counterId) |
| 62 | { |
| 63 | for (auto m_CounterId : m_CounterIds) { |
| 64 | if (m_CounterId == counterId) |
| 65 | { |
| 66 | return true; |
| 67 | } |
| 68 | } |
| 69 | |
| 70 | // Return false by default unless counterId is found |
| 71 | return false; |
| 72 | } |
| 73 | |
| 74 | void Holder::SetCaptureData(uint32_t capturePeriod, |
| 75 | const std::vector<uint16_t>& counterIds, |