Public Member Functions | Private Attributes
GridCellStrategy Class Reference

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

#include <grid_cell_strategy.h>

List of all members.

Public Member Functions

std::shared_ptr< GridCellFactorycell_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

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.

Returns an occupancy estimator.

Returns:
Pointer to CellOccupancyEstimator.

Definition at line 43 of file grid_cell_strategy.h.


Member Data Documentation

Definition at line 49 of file grid_cell_strategy.h.

Definition at line 51 of file grid_cell_strategy.h.

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 Thu Jun 6 2019 17:44:58