![]() |
Blender V2.61 - r43446
|
#include <MEM_CacheLimiter.h>
Public Member Functions | |
| MEM_CacheLimiterHandle (T *data_, MEM_CacheLimiter< T > *parent_) | |
| void | ref () |
| void | unref () |
| T * | get () |
| const T * | get () const |
| int | get_refcount () const |
| bool | can_destroy () const |
| bool | destroy_if_possible () |
| void | unmanage () |
| void | touch () |
Friends | |
| class | MEM_CacheLimiter< T > |
Definition at line 74 of file MEM_CacheLimiter.h.
| MEM_CacheLimiterHandle< T >::MEM_CacheLimiterHandle | ( | T * | data_, |
| MEM_CacheLimiter< T > * | parent_ | ||
| ) | [inline, explicit] |
Definition at line 76 of file MEM_CacheLimiter.h.
| bool MEM_CacheLimiterHandle< T >::can_destroy | ( | ) | const [inline] |
Definition at line 95 of file MEM_CacheLimiter.h.
Referenced by MEM_CacheLimiterHandle< T >::destroy_if_possible().
| bool MEM_CacheLimiterHandle< T >::destroy_if_possible | ( | ) | [inline] |
Definition at line 98 of file MEM_CacheLimiter.h.
References MEM_CacheLimiterHandle< T >::can_destroy(), and MEM_CacheLimiterHandle< T >::unmanage().
| const T* MEM_CacheLimiterHandle< T >::get | ( | ) | const [inline] |
Definition at line 89 of file MEM_CacheLimiter.h.
| T* MEM_CacheLimiterHandle< T >::get | ( | ) | [inline] |
Definition at line 86 of file MEM_CacheLimiter.h.
| int MEM_CacheLimiterHandle< T >::get_refcount | ( | ) | const [inline] |
Definition at line 92 of file MEM_CacheLimiter.h.
| void MEM_CacheLimiterHandle< T >::ref | ( | ) | [inline] |
Definition at line 80 of file MEM_CacheLimiter.h.
| void MEM_CacheLimiterHandle< T >::touch | ( | ) | [inline] |
Definition at line 110 of file MEM_CacheLimiter.h.
| void MEM_CacheLimiterHandle< T >::unmanage | ( | ) | [inline] |
Definition at line 107 of file MEM_CacheLimiter.h.
Referenced by MEM_CacheLimiterHandle< T >::destroy_if_possible().
| void MEM_CacheLimiterHandle< T >::unref | ( | ) | [inline] |
Definition at line 83 of file MEM_CacheLimiter.h.
friend class MEM_CacheLimiter< T > [friend] |
Definition at line 114 of file MEM_CacheLimiter.h.