MayaFlux 0.2.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 227 of file InputSubsystem.cpp.

228{
229 std::shared_lock lock(m_backends_mutex);
230 auto it = m_backends.find(type);
231 return (it != m_backends.end()) ? it->second.get() : nullptr;
232}
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: