MayaFlux 0.3.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 50 of file Depot.cpp.

51{
53 return get_context().get_io_manager();
54 }
55
56 MF_ERROR(Journal::Component::API, Journal::Context::Runtime,
57 "Attempted to access IOManager before engine initialization");
58 return nullptr;
59}
#define MF_ERROR(comp, ctx,...)
std::shared_ptr< IO::IOManager > get_io_manager()
Gets the IO manager.
Definition Engine.hpp:304
bool is_engine_initialized()
Checks if the default audio engine is initialized.
Definition Config.cpp:10
Core::Engine & get_context()
Gets the default engine instance.
Definition Core.cpp:58

References MayaFlux::Journal::API, get_context(), MayaFlux::Core::Engine::get_io_manager(), is_engine_initialized(), MF_ERROR, and MayaFlux::Journal::Runtime.

Referenced by MayaFlux::Creator::load_buffer(), MayaFlux::Creator::load_sound_container(), and register_container().

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