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

◆ get_global_stream_info()

MAYAFLUX_API Core::GlobalStreamInfo & MayaFlux::Config::get_global_stream_info ( )

Gets the stream configuration from the default engine.

Returns
Copy of the GlobalStreamInfo struct

Definition at line 18 of file Config.cpp.

19{
20 if (is_initialized()) {
21 MF_WARN(Journal::Component::API, Journal::Context::Configuration, "Accessing stream info while engine is running may lead to inconsistent state.");
22 }
24}
#define MF_WARN(comp, ctx,...)
GlobalStreamInfo & get_stream_info()
Gets the current stream configuration.
Definition Engine.hpp:212
Core::Engine & get_context()
Gets the default engine instance.
Definition Core.cpp:58
bool is_initialized()
Checks if the default engine has been initialized.
Definition Core.cpp:50

References MayaFlux::Journal::API, MayaFlux::Journal::Configuration, MayaFlux::get_context(), MayaFlux::Core::Engine::get_stream_info(), MayaFlux::is_initialized(), and MF_WARN.

+ Here is the call graph for this function: