![]() |
NEURON
|
#include <structpool.h>
Public Member Functions | |
Pool (long count) | |
~Pool () | |
T * | alloc () |
void | hpfree (T *) |
int | maxget () |
void | free_all () |
int | is_valid_ptr (void *) |
Private Member Functions | |
void | grow () |
Private Attributes | |
T ** | items_ |
T * | pool_ |
long | pool_size_ |
long | count_ |
long | get_ |
long | put_ |
long | nget_ |
long | maxget_ |
Pool * | chain_ |
Definition at line 16 of file structpool.h.
Definition at line 45 of file structpool.h.
Definition at line 86 of file structpool.h.
T * Pool< T >::alloc |
Definition at line 113 of file structpool.h.
void Pool< T >::free_all |
Definition at line 135 of file structpool.h.
|
private |
Definition at line 60 of file structpool.h.
void Pool< T >::hpfree | ( | T * | item | ) |
Definition at line 127 of file structpool.h.
int Pool< T >::is_valid_ptr | ( | void * | v | ) |
Definition at line 97 of file structpool.h.
|
inline |
Definition at line 22 of file structpool.h.
Definition at line 40 of file structpool.h.
|
private |
Definition at line 35 of file structpool.h.
|
private |
Definition at line 36 of file structpool.h.
|
private |
Definition at line 32 of file structpool.h.
|
private |
Definition at line 39 of file structpool.h.
|
private |
Definition at line 38 of file structpool.h.
|
private |
Definition at line 33 of file structpool.h.
|
private |
Definition at line 34 of file structpool.h.
|
private |
Definition at line 37 of file structpool.h.