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

◆ has_subsystem()

bool MayaFlux::Core::SubsystemManager::has_subsystem ( SubsystemType  type) const
inline

Check if a subsystem type exists.

Parameters
typeSubsystemType to check for existence
Returns
True if subsystem of this type is registered

Fast existence check without retrieving the subsystem instance.

Definition at line 168 of file SubsystemManager.hpp.

168{ return m_subsystems.count(type) > 0; }
vk::PhysicalDeviceType type
Definition VKDevice.cpp:146
std::unordered_map< SubsystemType, std::shared_ptr< ISubsystem > > m_subsystems

References type.

Referenced by get_subsystem().

+ Here is the caller graph for this function: