Public Member Functions | Protected Attributes | List of all members
GridCell Class Reference

#include <grid_cell.h>

Inheritance diagram for GridCell:
Inheritance graph
[legend]

Public Member Functions

virtual std::unique_ptr< GridCellclone () const
 
virtual size_t deserialize (const std::vector< char > &data, size_t pos=0)
 
virtual double discrepancy (const AreaOccupancyObservation &aoo) const
 
 GridCell (const Occupancy &occ)
 
 GridCell (const GridCell &gc)=default
 
 GridCell (GridCell &&gc)=default
 
virtual const Occupancyoccupancy () const
 
 operator bool () const
 
 operator double () const
 
virtual void operator+= (const AreaOccupancyObservation &aoo)
 
GridCelloperator= (const GridCell &gc)=default
 
GridCelloperator= (GridCell &&gc)=default
 
virtual std::vector< char > serialize () const
 
virtual ~GridCell ()=default
 

Protected Attributes

Occupancy _occupancy
 

Detailed Description

Definition at line 9 of file grid_cell.h.

Constructor & Destructor Documentation

GridCell::GridCell ( const Occupancy occ)
inline

Definition at line 11 of file grid_cell.h.

GridCell::GridCell ( const GridCell gc)
default
GridCell::GridCell ( GridCell &&  gc)
default
virtual GridCell::~GridCell ( )
virtualdefault

Member Function Documentation

virtual std::unique_ptr<GridCell> GridCell::clone ( ) const
inlinevirtual
virtual size_t GridCell::deserialize ( const std::vector< char > &  data,
size_t  pos = 0 
)
inlinevirtual

Definition at line 40 of file grid_cell.h.

virtual double GridCell::discrepancy ( const AreaOccupancyObservation aoo) const
inlinevirtual

Reimplemented in VinyDSCell, GmappingBaseCell, VinyXDSCell, and MockGridCell.

Definition at line 31 of file grid_cell.h.

virtual const Occupancy& GridCell::occupancy ( ) const
inlinevirtual

Definition at line 20 of file grid_cell.h.

GridCell::operator bool ( ) const
inlineexplicit

Definition at line 19 of file grid_cell.h.

GridCell::operator double ( ) const
inline

Definition at line 18 of file grid_cell.h.

virtual void GridCell::operator+= ( const AreaOccupancyObservation aoo)
inlinevirtual

Reimplemented in VinyDSCell, AvgTinyCell, LastWriteWinsGridCell, GmappingBaseCell, BaseTinyCell, and MockGridCell.

Definition at line 26 of file grid_cell.h.

GridCell& GridCell::operator= ( const GridCell gc)
default
GridCell& GridCell::operator= ( GridCell &&  gc)
default
virtual std::vector<char> GridCell::serialize ( ) const
inlinevirtual

Reimplemented in VinyDSCell.

Definition at line 35 of file grid_cell.h.

Member Data Documentation

Occupancy GridCell::_occupancy
protected

Definition at line 47 of file 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