MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ handle_gap()

void MayaFlux::Core::SerialReader::handle_gap ( )
private

Definition at line 193 of file SerialReader.cpp.

194{
195 m_gap_timer.store(0);
196 const auto on_frame = [this](P::Message frame) { handle_frame(frame); };
197 if (auto* framer = std::get_if<P::IdleGapFramer>(&m_framer)) {
198 const auto report = framer->flush(on_frame);
199 m_dropped.fetch_add(report.discarded);
200 }
201}
void handle_frame(Transitive::Protocol::Message frame)
std::atomic< uint64_t > m_dropped
std::atomic< ISerialLink::TimerToken > m_gap_timer

References handle_frame(), m_dropped, m_framer, and m_gap_timer.

Here is the call graph for this function: