|
proxygen
|
#include <IndexedMemPool.h>
Static Public Member Functions | |
| static constexpr bool | eagerRecycle () |
| static void | initialize (T *ptr) |
| static void | cleanup (T *ptr) |
| template<typename... Args> | |
| static void | onAllocate (T *ptr, Args &&...args) |
| static void | onRecycle (T *ptr) |
| Called when the element is recycled. More... | |
Definition at line 47 of file IndexedMemPool.h.
|
inlinestatic |
Called when the element pointed to by ptr is freed at the pool destruction time.
Definition at line 63 of file IndexedMemPool.h.
References testing::Args().
|
inlinestatic |
|
inlinestatic |
Called when the element pointed to by ptr is allocated for the first time.
Definition at line 55 of file IndexedMemPool.h.
|
inlinestatic |
Called when the element is allocated with the arguments forwarded from IndexedMemPool::allocElem.
Definition at line 72 of file IndexedMemPool.h.
References testing::Args(), ptr, and T.
|
inlinestatic |
Called when the element is recycled.
Definition at line 83 of file IndexedMemPool.h.