The base class for factories that encapsulate creation of a specific cell (The Factory method pattern is applied). More...
#include <grid_cell_factory.h>
Public Member Functions | |
virtual std::shared_ptr< GridCell > | create_cell ()=0 |
Creates a new cell of a specific type. |
The base class for factories that encapsulate creation of a specific cell (The Factory method pattern is applied).
Definition at line 38 of file grid_cell_factory.h.
virtual std::shared_ptr<GridCell> GridCellFactory::create_cell | ( | ) | [pure virtual] |
Creates a new cell of a specific type.
Implemented in TinyAvgCellFactory, and TinyBaseCellFactory.