MayaFlux 1.0.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 186 of file Engine.cpp.

187{
189 return false;
190 }
191
192 if (m_is_initialized) {
193 auto status = m_subsystem_manager->query_subsystem_status();
194 for (const auto& [type, readiness] : status) {
195 const auto& [is_ready, is_running] = readiness;
196 if (is_ready && is_running) {
197 return true;
198 }
199 }
200 }
201 return false;
202}
vk::PhysicalDeviceType type
Definition VKDevice.cpp:126
std::shared_ptr< SubsystemManager > m_subsystem_manager
Definition Engine.hpp:402
bool is_running() const
Checks if the coordinated processing system is currently active.
Definition Engine.cpp:186
bool m_is_paused
Pause state flag.
Definition Engine.hpp:390

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

Referenced by is_running().

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