MayaFlux 0.4.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 233 of file InputSubsystem.cpp.

234{
235 std::shared_lock lock(m_backends_mutex);
236 auto it = m_backends.find(type);
237 return (it != m_backends.end()) ? it->second.get() : nullptr;
238}
std::unordered_map< InputType, std::unique_ptr< IInputBackend > > m_backends

References m_backends, and m_backends_mutex.

Referenced by initialize_hid_backend(), and initialize_midi_backend().

+ Here is the caller graph for this function: