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 249 of file IOManager.cpp.

250{
251 std::shared_lock lock(m_camera_mutex);
252 auto it = m_camera_readers.find(reader_id);
253
254 if (it == m_camera_readers.end()) {
256 "IOManager: dispatch_frame_request unknown reader_id={}", reader_id);
257 return;
258 }
259
260 it->second->pull_frame_all();
261}
#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: