dmlite::PoolElementFactory< E > Class Template Reference

#include <poolcontainer.h>

List of all members.

Public Member Functions

virtual ~PoolElementFactory ()
 Destructor.
virtual E create ()=0
 Creates an element.
virtual void destroy (E)=0
 Destroys an element.
virtual bool isValid (E)=0
 Check it is still valid.


Detailed Description

template<class E>
class dmlite::PoolElementFactory< E >

Classes implementing this interface creates the actual element since the pool is agnosstic


Constructor & Destructor Documentation

template<class E>
virtual dmlite::PoolElementFactory< E >::~PoolElementFactory (  )  [inline, virtual]

Destructor.


Member Function Documentation

template<class E>
virtual E dmlite::PoolElementFactory< E >::create (  )  [pure virtual]

Creates an element.

template<class E>
virtual void dmlite::PoolElementFactory< E >::destroy (  )  [pure virtual]

Destroys an element.

template<class E>
virtual bool dmlite::PoolElementFactory< E >::isValid (  )  [pure virtual]

Check it is still valid.


The documentation for this class was generated from the following file:
Generated on 28 Apr 2014 for dmlite by  doxygen 1.4.7