|
HDK
|
Base class for items in the UT_CappedCache. More...
#include <UT_CappedCache.h>
Inheritance diagram for UT_CappedItem:Public Member Functions | |
| UT_CappedItem () | |
| virtual | ~UT_CappedItem () |
| UT_CappedItem (const UT_CappedItem &)=delete | |
| UT_CappedItem & | operator= (const UT_CappedItem &)=delete |
| virtual int64 | getMemoryUsage () const =0 |
Public Member Functions inherited from UT_IntrusiveRefCounter< UT_CappedItem > | |
| SYS_FORCE_INLINE | UT_IntrusiveRefCounter () noexcept |
| Default constructor: Sets counter to 0. More... | |
| SYS_FORCE_INLINE | UT_IntrusiveRefCounter (const UT_IntrusiveRefCounter &) noexcept |
| Copy constructor: Sets counter to 0. More... | |
| UT_IntrusiveRefCounter & | operator= (const UT_IntrusiveRefCounter &) noexcept |
| Assignment operator: Does not modify counter. More... | |
| SYS_FORCE_INLINE uint32 | use_count () const noexcept |
| Return current counter. More... | |
| SYS_FORCE_INLINE bool | conditionalAddRef () noexcept |
Additional Inherited Members | |
Protected Member Functions inherited from UT_IntrusiveRefCounter< UT_CappedItem > | |
| SYS_FORCE_INLINE | ~UT_IntrusiveRefCounter () |
| Destructor: Only derived classes can destruct this. More... | |
Base class for items in the UT_CappedCache.
Definition at line 51 of file UT_CappedCache.h.
| UT_CappedItem::UT_CappedItem | ( | ) |
|
virtual |
|
delete |
|
pure virtual |
Query the memory used by the cache item. This should be constant over the life of the item.
Implemented in GusdUSD_XformCache::XformInfo.
|
delete |