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

◆ read_camera() [1/2]

std::shared_ptr< Kakshya::CameraContainer > MayaFlux::Creator::read_camera ( )

Let the user pick a camera and capture mode, then read it as above.

Opens the pickers via choose_camera(). Blocks until the user chooses or closes a window.

Returns
Opened CameraContainer, or nullptr on cancellation or failure.

Definition at line 209 of file Creator.cpp.

210{
211 auto container = choose_camera();
212 if (container)
213 MF_LIVE_EXPOSE_AUTO(container);
214 return container;
215}
#define MF_LIVE_EXPOSE_AUTO(ptr)
Auto-expose variant that deduces the key prefix from the shared_ptr element type.
std::shared_ptr< Kakshya::CameraContainer > choose_camera(bool choose_mode)
Let the user pick a camera, and optionally a capture mode, then open it via IOManager::open_camera().
Definition Depot.cpp:302

References MayaFlux::choose_camera(), and MF_LIVE_EXPOSE_AUTO.

+ Here is the call graph for this function: