#include <cklists.h>
Public Member Functions | |
SafePool (allocFn _afn, freeFn _ffn, resetFn _rfn=NULL) | |
T | get (void) |
void | put (T m) |
Protected Types | |
typedef T(* | allocFn )() |
typedef void(* | freeFn )(T) |
typedef void(* | resetFn )(T) |
Protected Attributes | |
int | num |
T | msgs [MAXMSGS] |
allocFn | allocfn |
freeFn | freefn |
resetFn | resetfn |
Definition at line 529 of file cklists.h.
T SafePool< T >::get | ( | void | ) | [inline] |
void SafePool< T >::put | ( | T | m | ) | [inline] |
Definition at line 531 of file cklists.h.
Referenced by SafePool< ObjectToken * >::get(), SafePool< ObjectToken * >::put(), and SafePool< ObjectToken * >::SafePool().
Definition at line 532 of file cklists.h.
Referenced by SafePool< ObjectToken * >::get(), SafePool< ObjectToken * >::put(), and SafePool< ObjectToken * >::SafePool().
Definition at line 536 of file cklists.h.
Referenced by SafePool< ObjectToken * >::get(), and SafePool< ObjectToken * >::SafePool().