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

◆ get_all_devices()

std::vector< InputDeviceInfo > MayaFlux::Core::InputSubsystem::get_all_devices ( ) const

Get all available input devices across all backends.

Definition at line 249 of file InputSubsystem.cpp.

250{
251 std::shared_lock lock(m_backends_mutex);
252 std::vector<InputDeviceInfo> result;
253 for (const auto& [type, backend] : m_backends) {
254 auto devices = backend->get_devices();
255 result.insert(result.end(), devices.begin(), devices.end());
256 }
257 return result;
258}
std::unordered_map< InputType, std::unique_ptr< IInputBackend > > m_backends

References m_backends, and m_backends_mutex.

Referenced by MayaFlux::get_all_input_devices(), and register_backend_service().

+ Here is the caller graph for this function: