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

◆ setup_io_service() [1/2]

void MayaFlux::IO::VideoFileReader::setup_io_service ( const std::shared_ptr< Registry::Service::IOService > &  io_service,
uint64_t  reader_id 
)

Overload for IOManager-managed IOService.

Registers a lambda that calls signal_decode() when a decode request is dispatched with the matching reader_id.

The caller retains ownership of the shared IOService instance and must ensure it remains valid for the lifetime of this reader.

Definition at line 46 of file VideoFileReader.cpp.

47{
48 m_io_service = io_service;
49 m_reader_id = reader_id;
50 m_owns_io_service = false;
51}
std::shared_ptr< Registry::Service::IOService > m_io_service

References m_io_service, m_owns_io_service, and m_reader_id.