|
Blender
V2.59
|
#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 75 of file MEM_CacheLimiter.h.
| MEM_CacheLimiterHandle< T >::MEM_CacheLimiterHandle | ( | T * | data_, |
| MEM_CacheLimiter< T > * | parent_ | ||
| ) | [inline, explicit] |
Definition at line 77 of file MEM_CacheLimiter.h.
| bool MEM_CacheLimiterHandle< T >::can_destroy | ( | ) | const [inline] |
Definition at line 96 of file MEM_CacheLimiter.h.
Referenced by MEM_CacheLimiterHandle< T >::destroy_if_possible().
| bool MEM_CacheLimiterHandle< T >::destroy_if_possible | ( | ) | [inline] |
Definition at line 99 of file MEM_CacheLimiter.h.
References MEM_CacheLimiterHandle< T >::can_destroy(), and MEM_CacheLimiterHandle< T >::unmanage().
| T* MEM_CacheLimiterHandle< T >::get | ( | ) | [inline] |
Definition at line 87 of file MEM_CacheLimiter.h.
| const T* MEM_CacheLimiterHandle< T >::get | ( | ) | const [inline] |
Definition at line 90 of file MEM_CacheLimiter.h.
| int MEM_CacheLimiterHandle< T >::get_refcount | ( | ) | const [inline] |
Definition at line 93 of file MEM_CacheLimiter.h.
| void MEM_CacheLimiterHandle< T >::ref | ( | ) | [inline] |
Definition at line 81 of file MEM_CacheLimiter.h.
| void MEM_CacheLimiterHandle< T >::touch | ( | ) | [inline] |
Definition at line 111 of file MEM_CacheLimiter.h.
| void MEM_CacheLimiterHandle< T >::unmanage | ( | ) | [inline] |
Definition at line 108 of file MEM_CacheLimiter.h.
Referenced by MEM_CacheLimiterHandle< T >::destroy_if_possible().
| void MEM_CacheLimiterHandle< T >::unref | ( | ) | [inline] |
Definition at line 84 of file MEM_CacheLimiter.h.
friend class MEM_CacheLimiter< T > [friend] |
Definition at line 115 of file MEM_CacheLimiter.h.