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

◆ shutdown()

void MayaFlux::Core::SubsystemManager::shutdown ( )

Shutdown all subsystems in proper order.

Definition at line 172 of file SubsystemManager.cpp.

173{
174 for (auto& [token, subsystem] : m_subsystems) {
175 if (subsystem && subsystem->is_ready()) {
176 subsystem->shutdown();
177 }
178 }
179 m_subsystems.clear();
180}
static MayaFlux::Nodes::ProcessingToken token
Definition Timers.cpp:8
std::unordered_map< SubsystemType, std::shared_ptr< ISubsystem > > m_subsystems

References m_subsystems, and token.