|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| uint64_t MayaFlux::IO::IOManager::register_camera_source | ( | std::shared_ptr< CameraSource > | source | ) |
Assign a globally unique reader_id and take ownership of a CameraSource that is already open.
The backend-agnostic entry point for camera hosting: any CameraSource implementation, from any backend, is registered identically. open() and configuration are entirely the caller's concern beforehand — this call never touches either.
| source | Fully-opened CameraSource. |
Definition at line 382 of file IOManager.cpp.
References MayaFlux::Journal::Core, MayaFlux::Journal::FileIO, m_camera_mutex, m_camera_readers, m_next_reader_id, MF_DEBUG, and MF_WARN.
Referenced by open_camera().
Here is the caller graph for this function: