Main Page   Hardware Class Hierarchy   Hardware API     Mapping Class Hierarchy  Mapping API 

maze_cell Class Reference

A class for representing a single cell on a map for the flood fill algorithm. More...

#include <cell.h>


Public Member Functions

 maze_cell (void)
CELL_TYPE value () const
 Returns the value of the cell (floodfill value).

void value (CELL_TYPE)
 Sets the value of a cell.

void state (CELL_STATE state)
 Sets the state of a cell (CLEAR/WALL).

CELL_STATE state (void) const
 Returns state of cell (CLEAR/WALL).


Private Attributes

CELL_TYPE _value
CELL_STATE _state


Detailed Description

A class for representing a single cell on a map for the flood fill algorithm.

maze_cell : class representing a single cell of a map of an environment. Currently it only representing a filled/non-filled state. Currently, the value represents the flood fill value of the cell.


Constructor & Destructor Documentation

maze_cell void   ) 
 


Member Function Documentation

CELL_STATE state void   )  const
 

Returns state of cell (CLEAR/WALL).

void state CELL_STATE  state  ) 
 

Sets the state of a cell (CLEAR/WALL).

void value CELL_TYPE   ) 
 

Sets the value of a cell.

CELL_TYPE value  )  const
 

Returns the value of the cell (floodfill value).


Field Documentation

CELL_STATE _state [private]
 

CELL_TYPE _value [private]
 


Generated on Mon Oct 8 19:32:25 2007 for OOMRM Mapping API by doxygen1.3