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

◆ dispatch_frame_request()

void MayaFlux::IO::IOManager::dispatch_frame_request ( uint64_t  reader_id)
private

IOService::request_frame target — shared-lock lookup + pull_frame_all().

Non-blocking. Safe from any thread.

Definition at line 202 of file IOManager.cpp.

203{
204 std::shared_lock lock(m_camera_mutex);
205 auto it = m_camera_readers.find(reader_id);
206
207 if (it == m_camera_readers.end()) {
209 "IOManager: dispatch_frame_request unknown reader_id={}", reader_id);
210 return;
211 }
212
213 it->second->pull_frame_all();
214}
#define MF_WARN(comp, ctx,...)
std::unordered_map< uint64_t, std::shared_ptr< CameraReader > > m_camera_readers
std::shared_mutex m_camera_mutex
@ AsyncIO
Async I/O operations ( network, streaming)
@ Core
Core engine, backend, subsystems.

References MayaFlux::Journal::AsyncIO, MayaFlux::Journal::Core, m_camera_mutex, m_camera_readers, and MF_WARN.

Referenced by IOManager().

+ Here is the caller graph for this function: