MayaFlux 0.5.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 394 of file SpatialCache.cpp.

395{
396 std::lock_guard lock(m_impl->mutex);
397
398 if (!m_impl->archive) {
399 return;
400 }
401
402 m_impl->vertex_streams.clear();
403 m_impl->curves_streams.clear();
404 m_impl->pending_metadata.clear();
405 m_impl->archive.reset();
406
408}
#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 MayaFlux::IO::save_spatial_snapshot().

+ Here is the caller graph for this function: