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

◆ get_input_subsystem()

std::shared_ptr< InputSubsystem > MayaFlux::Core::SubsystemManager::get_input_subsystem ( )

Get typed access to the input subsystem.

Returns
Shared pointer to InputSubsystem or nullptr if not created

Convenience method that automatically casts to InputSubsystem type. Equivalent to dynamic_cast on get_subsystem(SubsystemType::INPUT).

Definition at line 118 of file SubsystemManager.cpp.

119{
120 if (auto subsystem = std::dynamic_pointer_cast<InputSubsystem>(get_subsystem(SubsystemType::INPUT))) {
121 return subsystem;
122 }
123 return nullptr;
124}
std::shared_ptr< ISubsystem > get_subsystem(SubsystemType type)
Get access to a specific subsystem by type.

References get_subsystem(), and MayaFlux::Core::INPUT.

Referenced by stop_input_subsystem().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: