#include <InkPool.h>
Inherited by InkStaticPool_r< C >.
Public Member Functions | |
InkStaticPool (int size) | |
virtual | ~InkStaticPool () |
C * | get () |
bool | put (C *newObj) |
void | put_or_delete (C *newObj) |
Protected Member Functions | |
void | cleanUp (void) |
Definition at line 31 of file InkPool.h.
InkStaticPool< C >::InkStaticPool | ( | int | size | ) | [inline] |
virtual InkStaticPool< C >::~InkStaticPool | ( | ) | [inline, virtual] |
Definition at line 39 of file InkPool.h.
References InkStaticPool< C >::cleanUp().
void InkStaticPool< C >::cleanUp | ( | void | ) | [inline, protected] |
Definition at line 86 of file InkPool.h.
Referenced by InkStaticPool< C >::~InkStaticPool(), and InkStaticPool_r< C >::~InkStaticPool_r().
C * InkStaticPool< C >::get | ( | void | ) | [inline] |
Reimplemented in InkStaticPool_r< C >.
bool InkStaticPool< C >::put | ( | C * | newObj | ) | [inline] |
Reimplemented in InkStaticPool_r< C >.
Definition at line 72 of file InkPool.h.
Referenced by InkStaticPool< C >::put_or_delete().
void InkStaticPool< C >::put_or_delete | ( | C * | newObj | ) | [inline] |
Reimplemented in InkStaticPool_r< C >.
Definition at line 46 of file InkPool.h.
References InkStaticPool< C >::put().