Inherited by DD::Image::CacheBase, DD::Image::DeepOpCache, DD::Image::ImagePlaneCacheImpl [protected]
, DD::Image::MemoryBufferImpl, and ImageCacheQueue.
Public Member Functions | |
virtual bool | memoryFree (size_t amount)=0 |
virtual void | memoryInfo (Memory::MemoryInfoArray &output, const void *restrict_to) const =0 |
virtual int | memoryWeight () const =0 |
Implement this interface to enable a class to be registered with the Memory system for free, info and weight callbacks.
If you derive from this class, you must create the objects with MemHolderFactory in order to register them with the memory system.
©2021 The Foundry Visionmongers, Ltd. All Rights Reserved. |