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

◆ get_io_manager()

MAYAFLUX_API std::shared_ptr< IO::IOManager > MayaFlux::get_io_manager ( )

Retrieves the global IOManager instance for file loading and buffer management.

Returns
Shared pointer to the IOManager instance

Provides access to the central IOManager responsible for all file loading operations, container management, and buffer integration. This is the primary interface for performing file I/O tasks within the MayaFlux engine.

Definition at line 256 of file Depot.cpp.

257{
259 return get_context().get_io_manager();
260
261 MF_ERROR(Journal::Component::API, Journal::Context::Runtime,
262 "Attempted to access IOManager before engine initialization");
263 return nullptr;
264}
#define MF_ERROR(comp, ctx,...)
std::shared_ptr< IO::IOManager > get_io_manager()
Gets the IO manager.
Definition Engine.hpp:322
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, get_context(), MayaFlux::Core::Engine::get_io_manager(), is_engine_configured(), MF_ERROR, and MayaFlux::Journal::Runtime.

Referenced by choose_audio(), choose_image(), choose_mesh(), choose_mesh_network(), choose_video(), create_sampler(), create_samplers(), MayaFlux::Creator::load_image_buffer(), MayaFlux::Creator::load_mesh_buffers(), MayaFlux::Creator::load_mesh_network(), MayaFlux::Creator::load_sound_container(), register_container(), save_audio(), save_image(), and save_image().

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