#include <ObjectPool.h>
Inheritance diagram for AbstractObjectGenerator:

Public Member Functions | |
| AbstractObjectGenerator () | |
| Default ctor. | |
| virtual | ~AbstractObjectGenerator () |
| Virtual dtor to keep C++ honest. | |
| virtual void * | ObtainObjectGeneric ()=0 |
| Should be implemented to pass through to ObtainObject(). | |
Used to support polymorphism in pool management.
Definition at line 23 of file ObjectPool.h.
| virtual void* AbstractObjectGenerator::ObtainObjectGeneric | ( | ) | [pure virtual] |
Should be implemented to pass through to ObtainObject().
Useful for handling different types of ObjectPool interchangably. Note that the caller is responsible for deleting or recycling the returned object!
Implemented in ObjectPool< Object >.
1.5.1