db_planner::ModelAllocator Class Reference

Base class to allocate Model objects. More...

#include <model.h>

Inheritance diagram for db_planner::ModelAllocator:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ModelGet () const =0
 Return a new object of a class that derives from Model.
virtual ~ModelAllocator ()

Detailed Description

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.


Constructor & Destructor Documentation

virtual db_planner::ModelAllocator::~ModelAllocator (  )  [inline, virtual]

Definition at line 103 of file model.h.


Member Function Documentation

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.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


graspit
Author(s):
autogenerated on Wed Jan 25 11:00:32 2012