Blender V2.61 - r43446
|
#include <MEM_CacheLimiter.h>
Public Types | |
typedef std::list < MEM_CacheLimiterHandle< T > *, MEM_Allocator < MEM_CacheLimiterHandle< T > * > >::iterator | iterator |
typedef intptr_t(* | MEM_CacheLimiter_DataSize_Func )(void *data) |
Public Member Functions | |
MEM_CacheLimiter (MEM_CacheLimiter_DataSize_Func getDataSize_) | |
~MEM_CacheLimiter () | |
MEM_CacheLimiterHandle< T > * | insert (T *elem) |
void | unmanage (MEM_CacheLimiterHandle< T > *handle) |
void | enforce_limits () |
void | touch (MEM_CacheLimiterHandle< T > *handle) |
Definition at line 124 of file MEM_CacheLimiter.h.
typedef std::list<MEM_CacheLimiterHandle<T> *, MEM_Allocator<MEM_CacheLimiterHandle<T> *> >::iterator MEM_CacheLimiter< T >::iterator |
Definition at line 127 of file MEM_CacheLimiter.h.
typedef intptr_t(* MEM_CacheLimiter< T >::MEM_CacheLimiter_DataSize_Func)(void *data) |
Definition at line 128 of file MEM_CacheLimiter.h.
MEM_CacheLimiter< T >::MEM_CacheLimiter | ( | MEM_CacheLimiter_DataSize_Func | getDataSize_ | ) | [inline] |
Definition at line 129 of file MEM_CacheLimiter.h.
MEM_CacheLimiter< T >::~MEM_CacheLimiter | ( | ) | [inline] |
Definition at line 132 of file MEM_CacheLimiter.h.
void MEM_CacheLimiter< T >::enforce_limits | ( | ) | [inline] |
Definition at line 148 of file MEM_CacheLimiter.h.
Referenced by MEM_CacheLimiter_enforce_limits().
MEM_CacheLimiterHandle<T>* MEM_CacheLimiter< T >::insert | ( | T * | elem | ) | [inline] |
Definition at line 137 of file MEM_CacheLimiter.h.
Referenced by MEM_CacheLimiterCClass::insert().
void MEM_CacheLimiter< T >::touch | ( | MEM_CacheLimiterHandle< T > * | handle | ) | [inline] |
Definition at line 183 of file MEM_CacheLimiter.h.
void MEM_CacheLimiter< T >::unmanage | ( | MEM_CacheLimiterHandle< T > * | handle | ) | [inline] |
Definition at line 144 of file MEM_CacheLimiter.h.