#include <ReadArraySampleCache.h>
Alembic caches array samples based on a Murmur3 128bit checksum key. This is an abstract interface to these caches, which can be implemented in any number of ways.
Definition at line 110 of file ReadArraySampleCache.h.
◆ ~ReadArraySampleCache()
virtual Alembic::AbcCoreAbstract::ALEMBIC_VERSION_NS::ReadArraySampleCache::~ReadArraySampleCache |
( |
| ) |
|
|
virtual |
◆ find()
If it finds the entry, return a valid pointer to it which is expected to lock the entry in the cache until the pointer is dereferenced.
◆ store()
Store an entry given an explicit set of storage. The magnificent flexibility of the shared_ptr class makes it possible for an ArraySamplePtr to contain its own destructor as a custom deleter, and thus we can use ArraySamplePtrs for both reference and ownership, depending on the deleter. In this case, it is assumed that iSamp represents "owned" data, rather than a reference. The data will not be copied, but rather this sample will be stored directly using the passed shared_ptr.
The documentation for this class was generated from the following file: