huc::Grid< CellInfo >::Cell Class Reference
#include <grid.hxx>
Public Member Functions | |
Cell (uint32_t x, uint32_t y) | |
Public Attributes | |
const uint32_t | x |
const uint32_t | y |
std::set< std::weak_ptr< Cell >, std::owner_less< std::weak_ptr< Cell > > > | connectedCells |
CellInfo | info |
Private Member Functions | |
Cell | operator= (Cell &) |
Detailed Description
template<typename CellInfo = CellInfoBase>
class huc::Grid< CellInfo >::Cell
Cell struct is a convenient struct use to represent a 2D cell for a grid (index position). It handles a set of its connection to other nodes and extra information passed as template parameter.
Constructor & Destructor Documentation
template<typename CellInfo = CellInfoBase>
|
inline |
Member Function Documentation
template<typename CellInfo = CellInfoBase>
|
private |
Member Data Documentation
template<typename CellInfo = CellInfoBase>
CellInfo huc::Grid< CellInfo >::Cell::info |
template<typename CellInfo = CellInfoBase>
const uint32_t huc::Grid< CellInfo >::Cell::x |
template<typename CellInfo = CellInfoBase>
const uint32_t huc::Grid< CellInfo >::Cell::y |
The documentation for this class was generated from the following file: