MayaFlux 0.4.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 228 of file IOManager.cpp.

229{
230 std::shared_lock lock(m_camera_mutex);
231 auto it = m_camera_readers.find(reader_id);
232
233 if (it == m_camera_readers.end()) {
235 "IOManager: dispatch_frame_request unknown reader_id={}", reader_id);
236 return;
237 }
238
239 it->second->pull_frame_all();
240}
#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: