Public Member Functions | Static Public Attributes | List of all members
MockGridCell Class Reference

#include <mock_grid_cell.h>

Inheritance diagram for MockGridCell:
Inheritance graph
[legend]

Public Member Functions

std::unique_ptr< GridCellclone () const override
 
double discrepancy (const AreaOccupancyObservation &aoo) const override
 
 MockGridCell (double occ_prob=Default_Occ_Prob)
 
void operator+= (const AreaOccupancyObservation &aoo) override
 
- Public Member Functions inherited from GridCell
virtual size_t deserialize (const std::vector< char > &data, size_t pos=0)
 
 GridCell (const Occupancy &occ)
 
 GridCell (const GridCell &gc)=default
 
 GridCell (GridCell &&gc)=default
 
virtual const Occupancyoccupancy () const
 
 operator bool () const
 
 operator double () const
 
GridCelloperator= (const GridCell &gc)=default
 
GridCelloperator= (GridCell &&gc)=default
 
virtual std::vector< char > serialize () const
 
virtual ~GridCell ()=default
 

Static Public Attributes

static constexpr double Default_Occ_Prob = 0.5
 

Additional Inherited Members

- Protected Attributes inherited from GridCell
Occupancy _occupancy
 

Detailed Description

Definition at line 6 of file mock_grid_cell.h.

Constructor & Destructor Documentation

MockGridCell::MockGridCell ( double  occ_prob = Default_Occ_Prob)
inline

Definition at line 10 of file mock_grid_cell.h.

Member Function Documentation

std::unique_ptr<GridCell> MockGridCell::clone ( ) const
inlineoverridevirtual

Reimplemented from GridCell.

Definition at line 13 of file mock_grid_cell.h.

double MockGridCell::discrepancy ( const AreaOccupancyObservation aoo) const
inlineoverridevirtual

Reimplemented from GridCell.

Definition at line 21 of file mock_grid_cell.h.

void MockGridCell::operator+= ( const AreaOccupancyObservation aoo)
inlineoverridevirtual

Reimplemented from GridCell.

Definition at line 17 of file mock_grid_cell.h.

Member Data Documentation

constexpr double MockGridCell::Default_Occ_Prob = 0.5
static

Definition at line 8 of file mock_grid_cell.h.


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


slam_constructor
Author(s): JetBrains Research, OSLL team
autogenerated on Mon Jun 10 2019 15:08:26