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

◆ get_global_network_config()

MAYAFLUX_API Core::GlobalNetworkConfig & MayaFlux::Config::get_global_network_config ( )

Gets the network configuration from the default engine.

Returns
Copy of the GlobalNetworkConfig struct

Definition at line 84 of file Config.cpp.

85{
87 MF_WARN(Journal::Component::API, Journal::Context::Configuration, "Accessing network config while engine is running may lead to inconsistent state.");
88 }
90}
#define MF_WARN(comp, ctx,...)
GlobalNetworkConfig & get_network_config()
Gets the current network configuration.
Definition Engine.hpp:242
bool is_engine_configured()
Checks if the default engine has currently accepted all configurations and initialized all managers.
Definition Config.cpp:52
Core::Engine & get_context()
Gets the default engine instance.
Definition Core.cpp:68

References MayaFlux::Journal::API, MayaFlux::Journal::Configuration, MayaFlux::get_context(), MayaFlux::Core::Engine::get_network_config(), MayaFlux::is_engine_configured(), and MF_WARN.

Referenced by load_config_from_file().

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