Base class to allocate Model objects. More...
#include <model.h>

Public Member Functions | |
| virtual Model * | Get () const =0 |
| Return a new object of a class that derives from Model. | |
| virtual | ~ModelAllocator () |
Base class to allocate Model objects.
A ModelAllocator is a class that can produce new models on demand. It is necessary to allow a class to create derived Model types without having to know what those types are.
Definition at line 99 of file model.h.
| virtual db_planner::ModelAllocator::~ModelAllocator | ( | ) | [inline, virtual] |
| virtual Model* db_planner::ModelAllocator::Get | ( | ) | const [pure virtual] |
Return a new object of a class that derives from Model.
Implemented in GraspitDBModelAllocator, and GeomGraspitDBModelAllocator.