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

◆ setup_io()

void MayaFlux::Kakshya::CameraContainer::setup_io ( uint64_t  reader_id)

Wire the CameraIOService callback for demand-driven frame pulls.

Retrieves the CameraIOService from BackendRegistry and stores the reader_id. After this call, update_read_position_for_channel() will call request_frame(reader_id) each time FrameAccessProcessor completes a process cycle.

Parameters
reader_idOpaque id assigned by IOManager, matching the CameraReader registered in dispatch.

Definition at line 41 of file CameraContainer.cpp.

42{
43 m_io_reader_id = reader_id;
45 .get_service<Registry::Service::IOService>();
46
48 "CameraContainer: wired IOService with reader_id={}", reader_id);
49}
#define MF_DEBUG(comp, ctx,...)
Registry::Service::IOService * m_io_service
Interface * get_service()
Query for a backend service.
static BackendRegistry & instance()
Get the global registry instance.
@ Init
Engine/subsystem initialization.
@ Kakshya
Containers[Signalsource, Stream, File], Regions, DataProcessors.

References MayaFlux::Registry::BackendRegistry::get_service(), MayaFlux::Journal::Init, MayaFlux::Registry::BackendRegistry::instance(), MayaFlux::Journal::Kakshya, MayaFlux::Kakshya::VideoStreamContainer::m_io_reader_id, m_io_service, and MF_DEBUG.

+ Here is the call graph for this function: