#include <fifo_list.h>
Public Methods | |
void* | operator new (size_t num_bytes) |
override the default new operator to allocate list_type objects from the a memory pool. More... | |
Public Attributes | |
T | data |
data element. More... | |
list_type* | next |
pointer to the next element. More... |
Definition at line 70 of file fifo_list.h.
|
override the default new operator to allocate list_type objects from the a memory pool.
Definition at line 78 of file fifo_list.h. 00079 { 00080 block_pool mem_pool; 00081 00082 void *mem_addr = mem_pool.pool_alloc( num_bytes ); 00083 return mem_addr; 00084 } // new |
|
data element.
Definition at line 73 of file fifo_list.h. |
|
pointer to the next element.
Definition at line 75 of file fifo_list.h. |