Public Member Functions | Protected Member Functions

InkStaticPool< C > Class Template Reference

#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)

Detailed Description

template<class C>
class InkStaticPool< C >

Definition at line 31 of file InkPool.h.


Constructor & Destructor Documentation

template<class C >
InkStaticPool< C >::InkStaticPool ( int  size  )  [inline]

Definition at line 34 of file InkPool.h.

template<class C >
virtual InkStaticPool< C >::~InkStaticPool (  )  [inline, virtual]

Definition at line 39 of file InkPool.h.

References InkStaticPool< C >::cleanUp().


Member Function Documentation

template<class C >
void InkStaticPool< C >::cleanUp ( void   )  [inline, protected]
template<class C >
C * InkStaticPool< C >::get ( void   )  [inline]

Reimplemented in InkStaticPool_r< C >.

Definition at line 62 of file InkPool.h.

template<class 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().

template<class C >
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().


The documentation for this class was generated from the following file: