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

◆ close()

void MayaFlux::IO::SpatialCache::close ( )

Finalize and close the archive.

Safe to call on an unopened or already-closed cache; both are no-ops.

Definition at line 425 of file SpatialCache.cpp.

426{
427 std::lock_guard lock(m_impl->mutex);
428
429 if (!m_impl->archive) {
430 return;
431 }
432
433 m_impl->vertex_streams.clear();
434 m_impl->curves_streams.clear();
435 m_impl->pending_metadata.clear();
436 m_impl->archive.reset();
437
439}
#define MF_INFO(comp, ctx,...)
std::unique_ptr< Impl > m_impl
@ FileIO
Filesystem I/O operations.
@ IO
Networking, file handling, streaming.

References MayaFlux::Journal::FileIO, MayaFlux::Journal::IO, m_impl, and MF_INFO.

Referenced by operator=(), and MayaFlux::IO::save_spatial_snapshot().

Here is the caller graph for this function: