dmlite
0.6
|
#include <poolcontainer.h>
Public Member Functions | |
virtual | ~PoolElementFactory () |
Destructor. More... | |
virtual E | create ()=0 |
Creates an element. More... | |
virtual void | destroy (E)=0 |
Destroys an element. More... | |
virtual bool | isValid (E)=0 |
Check it is still valid. More... | |
Classes implementing this interface creates the actual element since the pool is agnosstic
|
inlinevirtual |
Destructor.
|
pure virtual |
Creates an element.
Implemented in dmlite::MySqlConnectionFactory, and dmlite::DavixCtxFactory.
|
pure virtual |
Destroys an element.
Implemented in dmlite::MySqlConnectionFactory, and dmlite::DavixCtxFactory.
|
pure virtual |
Check it is still valid.
Implemented in dmlite::MySqlConnectionFactory, and dmlite::DavixCtxFactory.