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

◆ is_running()

bool MayaFlux::Core::Engine::is_running ( ) const

Checks if the coordinated processing system is currently active.

Returns
true if all subsystems are running and processing, false otherwise

This reflects the overall system state - true only when the audio stream is active, schedulers are running, and the system is processing data.

Definition at line 151 of file Engine.cpp.

152{
154 return false;
155 }
156
157 if (m_is_initialized) {
158 auto status = m_subsystem_manager->query_subsystem_status();
159 for (const auto& [type, readiness] : status) {
160 const auto& [is_ready, is_running] = readiness;
161 if (is_ready && is_running) {
162 return true;
163 }
164 }
165 }
166 return false;
167}
std::shared_ptr< SubsystemManager > m_subsystem_manager
Definition Engine.hpp:341
bool is_running() const
Checks if the coordinated processing system is currently active.
Definition Engine.cpp:151
bool m_is_paused
Pause state flag.
Definition Engine.hpp:329

References is_running(), m_is_initialized, m_is_paused, and m_subsystem_manager.

Referenced by is_running().

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