Public Member Functions | Private Attributes | List of all members
GridCellStrategy Class Reference

A container for strategies specific to a grid cell model. More...

#include <grid_cell_strategy.h>

Public Member Functions

std::shared_ptr< GridCellFactorycell_factory ()
 Returns a cell factory that creates cells that implement a specific model. More...
 
std::shared_ptr< ScanCostEstimatorcost_est ()
 Returns a scan cost estimator. More...
 
 GridCellStrategy (std::shared_ptr< GridCellFactory > factory, std::shared_ptr< ScanCostEstimator > cost_est, std::shared_ptr< CellOccupancyEstimator > occ_est)
 Initializes a grid cell model. More...
 
std::shared_ptr< CellOccupancyEstimatoroccupancy_est ()
 Returns an occupancy estimator. More...
 

Private Attributes

std::shared_ptr< GridCellFactory_cell_factory
 
std::shared_ptr< ScanCostEstimator_cost_estimator
 
std::shared_ptr< CellOccupancyEstimator_occupancy_estimator
 

Detailed Description

A container for strategies specific to a grid cell model.

Definition at line 13 of file grid_cell_strategy.h.

Constructor & Destructor Documentation

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.

Parameters
factoryThe Cell factory that creates cells of a specific type.
cost_estA scan cost estimator.
occ_essAn occupancy estimator.

Definition at line 21 of file grid_cell_strategy.h.

Member Function Documentation

std::shared_ptr<GridCellFactory> GridCellStrategy::cell_factory ( )
inline

Returns a cell factory that creates cells that implement a specific model.

Returns
Pointer to GridCellFactory.

Definition at line 31 of file grid_cell_strategy.h.

std::shared_ptr<ScanCostEstimator> GridCellStrategy::cost_est ( )
inline

Returns a scan cost estimator.

Returns
Pointer to ScanCostEstimator.

Definition at line 37 of file grid_cell_strategy.h.

std::shared_ptr<CellOccupancyEstimator> GridCellStrategy::occupancy_est ( )
inline

Returns an occupancy estimator.

Returns
Pointer to CellOccupancyEstimator.

Definition at line 43 of file grid_cell_strategy.h.

Member Data Documentation

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.


The documentation for this class was generated from the following file:


tiny_slam
Author(s):
autogenerated on Mon Jun 10 2019 15:30:57