HDK
|
#include <OP_Cache.h>
Public Member Functions | |
OP_Cache (OP_Node *client, const char *cop2_name, const char *cache_name) | |
virtual | ~OP_Cache () |
void | setSize (int size) |
int | getSize () const |
void * | getData (const OP_Context &context) |
void | putData (void *data, const OP_Context &c) |
void | updateContextDeps (const DEP_ContextOptionDeps &deps) |
bool | ownsData (void *) |
void | clear () |
void | print (FILE *) |
const void * | getDataPtr (int idx) |
const OP_Context * | getContextPtr (int idx) |
virtual int64 | getMemoryUsage (bool inclusive) const |
Additional Inherited Members | |
Protected Member Functions inherited from UT_NonCopyableNS::UT_NonCopyable | |
UT_NonCopyable ()=default | |
~UT_NonCopyable ()=default | |
UT_NonCopyable (const UT_NonCopyable &)=delete | |
UT_NonCopyable & | operator= (const UT_NonCopyable &)=delete |
Definition at line 14 of file OP_Cache.h.
OP_Cache::OP_Cache | ( | OP_Node * | client, |
const char * | cop2_name, | ||
const char * | cache_name | ||
) |
|
virtual |
void OP_Cache::clear | ( | ) |
const OP_Context* OP_Cache::getContextPtr | ( | int | idx | ) |
void* OP_Cache::getData | ( | const OP_Context & | context | ) |
|
inlinevirtual |
Definition at line 39 of file OP_Cache.h.
|
inline |
Definition at line 23 of file OP_Cache.h.
bool OP_Cache::ownsData | ( | void * | ) |
void OP_Cache::print | ( | FILE * | ) |
void OP_Cache::putData | ( | void * | data, |
const OP_Context & | c | ||
) |
void OP_Cache::updateContextDeps | ( | const DEP_ContextOptionDeps & | deps | ) |