A container for strategies specific to a grid cell model. More...
#include <grid_cell_strategy.h>
Public Member Functions | |
| std::shared_ptr< GridCellFactory > | cell_factory () |
| Returns a cell factory that creates cells that implement a specific model. | |
| std::shared_ptr < ScanCostEstimator > | cost_est () |
| Returns a scan cost estimator. | |
| GridCellStrategy (std::shared_ptr< GridCellFactory > factory, std::shared_ptr< ScanCostEstimator > cost_est, std::shared_ptr< CellOccupancyEstimator > occ_est) | |
| Initializes a grid cell model. | |
| std::shared_ptr < CellOccupancyEstimator > | occupancy_est () |
| Returns an occupancy estimator. | |
Private Attributes | |
| std::shared_ptr< GridCellFactory > | _cell_factory |
| std::shared_ptr < ScanCostEstimator > | _cost_estimator |
| std::shared_ptr < CellOccupancyEstimator > | _occupancy_estimator |
A container for strategies specific to a grid cell model.
Definition at line 13 of file grid_cell_strategy.h.
| GridCellStrategy::GridCellStrategy | ( | std::shared_ptr< GridCellFactory > | factory, |
| std::shared_ptr< ScanCostEstimator > | cost_est, | ||
| std::shared_ptr< CellOccupancyEstimator > | occ_est | ||
| ) | [inline] |
Initializes a grid cell model.
| factory | The Cell factory that creates cells of a specific type. |
| cost_est | A scan cost estimator. |
| occ_ess | An occupancy estimator. |
Definition at line 21 of file grid_cell_strategy.h.
| std::shared_ptr<GridCellFactory> GridCellStrategy::cell_factory | ( | ) | [inline] |
Returns a cell factory that creates cells that implement a specific model.
Definition at line 31 of file grid_cell_strategy.h.
| std::shared_ptr<ScanCostEstimator> GridCellStrategy::cost_est | ( | ) | [inline] |
Returns a scan cost estimator.
Definition at line 37 of file grid_cell_strategy.h.
| std::shared_ptr<CellOccupancyEstimator> GridCellStrategy::occupancy_est | ( | ) | [inline] |
Returns an occupancy estimator.
Definition at line 43 of file grid_cell_strategy.h.
std::shared_ptr<GridCellFactory> GridCellStrategy::_cell_factory [private] |
Definition at line 49 of file grid_cell_strategy.h.
std::shared_ptr<ScanCostEstimator> GridCellStrategy::_cost_estimator [private] |
Definition at line 51 of file grid_cell_strategy.h.
std::shared_ptr<CellOccupancyEstimator> GridCellStrategy::_occupancy_estimator [private] |
Definition at line 53 of file grid_cell_strategy.h.