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

◆ get_backend()

IInputBackend * MayaFlux::Core::InputSubsystem::get_backend ( InputType  type) const

Get a backend by type.

Definition at line 238 of file InputSubsystem.cpp.

239{
240 std::shared_lock lock(m_backends_mutex);
241 auto it = m_backends.find(type);
242 return (it != m_backends.end()) ? it->second.get() : nullptr;
243}
vk::PhysicalDeviceType type
Definition VKDevice.cpp:146
std::unordered_map< InputType, std::unique_ptr< IInputBackend > > m_backends

References m_backends, m_backends_mutex, and type.

Referenced by initialize_hid_backend(), and initialize_midi_backend().

+ Here is the caller graph for this function: