#include <blockmem_gridmap.h>
Public Member Functions | |
BlockMemGridmap () | |
BlockMemGridmap (const CyclicVecInt< DIM, NONCYCLIC > &size_) | |
void | clear (const T zero) override |
void | clear_partially (const T zero, const CyclicVecInt< DIM, NONCYCLIC > &min, const CyclicVecInt< DIM, NONCYCLIC > &max) override |
void | clear_positive (const T zero) |
void | copy_partially (const BlockMemGridmapBase< T, DIM, NONCYCLIC > &base, const CyclicVecInt< DIM, NONCYCLIC > &min, const CyclicVecInt< DIM, NONCYCLIC > &max) override |
void | copy_partially (const CyclicVecInt< DIM, NONCYCLIC > &dst_min, const BlockMemGridmapBase< T, DIM, NONCYCLIC > &src, const CyclicVecInt< DIM, NONCYCLIC > &src_min, const CyclicVecInt< DIM, NONCYCLIC > &src_max) override |
std::function< void(CyclicVecInt< DIM, NONCYCLIC >, size_t &, size_t &)> | getAddressor () const |
const BlockMemGridmap< T, DIM, NONCYCLIC, BLOCK_WIDTH, ENABLE_VALIDATION > & | operator= (const BlockMemGridmap< T, DIM, NONCYCLIC, BLOCK_WIDTH, ENABLE_VALIDATION > &gm) |
const T | operator[] (const CyclicVecInt< DIM, NONCYCLIC > &pos) const override |
T & | operator[] (const CyclicVecInt< DIM, NONCYCLIC > &pos) override |
void | reset (const CyclicVecInt< DIM, NONCYCLIC > &size) override |
size_t | ser_size () const override |
const CyclicVecInt< DIM, NONCYCLIC > & | size () const override |
bool | validate (const CyclicVecInt< DIM, NONCYCLIC > &pos, const int tolerance=0) const override |
Protected Member Functions | |
void | block_addr (const CyclicVecInt< DIM, NONCYCLIC > &pos, size_t &baddr, size_t &addr) const |
Protected Attributes | |
size_t | block_num_ |
size_t | block_ser_size_ |
CyclicVecInt< DIM, NONCYCLIC > | block_size_ |
std::unique_ptr< T[]> | c_ |
T | dummy_ |
size_t | ser_capacity_ |
size_t | ser_size_ |
CyclicVecInt< DIM, NONCYCLIC > | size_ |
Static Protected Attributes | |
constexpr static size_t | block_bit_ = log2Recursive(BLOCK_WIDTH) |
constexpr static size_t | block_bit_mask_ = (1 << block_bit_) - 1 |
Static Private Member Functions | |
static constexpr bool | isPowOf2 (const int v) |
static constexpr size_t | log2Recursive (const size_t v, const size_t depth=0) |
Definition at line 67 of file blockmem_gridmap.h.
|
inlineexplicit |
Definition at line 233 of file blockmem_gridmap.h.
|
inline |
Definition at line 238 of file blockmem_gridmap.h.
|
inlineprotected |
Definition at line 95 of file blockmem_gridmap.h.
|
inlineoverridevirtual |
Implements planner_cspace::BlockMemGridmapBase< T, DIM, NONCYCLIC >.
Definition at line 129 of file blockmem_gridmap.h.
|
inlineoverridevirtual |
Implements planner_cspace::BlockMemGridmapBase< T, DIM, NONCYCLIC >.
Definition at line 136 of file blockmem_gridmap.h.
|
inline |
Definition at line 282 of file blockmem_gridmap.h.
|
inlineoverridevirtual |
Implements planner_cspace::BlockMemGridmapBase< T, DIM, NONCYCLIC >.
Definition at line 152 of file blockmem_gridmap.h.
|
inlineoverridevirtual |
Implements planner_cspace::BlockMemGridmapBase< T, DIM, NONCYCLIC >.
Definition at line 171 of file blockmem_gridmap.h.
|
inlinevirtual |
Implements planner_cspace::BlockMemGridmapBase< T, DIM, NONCYCLIC >.
Definition at line 114 of file blockmem_gridmap.h.
|
inlinestaticconstexprprivate |
Definition at line 70 of file blockmem_gridmap.h.
|
inlinestaticconstexprprivate |
Definition at line 77 of file blockmem_gridmap.h.
|
inline |
Definition at line 290 of file blockmem_gridmap.h.
|
inlineoverridevirtual |
Implements planner_cspace::BlockMemGridmapBase< T, DIM, NONCYCLIC >.
Definition at line 255 of file blockmem_gridmap.h.
|
inlineoverridevirtual |
Implements planner_cspace::BlockMemGridmapBase< T, DIM, NONCYCLIC >.
Definition at line 243 of file blockmem_gridmap.h.
|
inlineoverridevirtual |
Implements planner_cspace::BlockMemGridmapBase< T, DIM, NONCYCLIC >.
Definition at line 195 of file blockmem_gridmap.h.
|
inlineoverridevirtual |
Implements planner_cspace::BlockMemGridmapBase< T, DIM, NONCYCLIC >.
Definition at line 125 of file blockmem_gridmap.h.
|
inlineoverridevirtual |
Implements planner_cspace::BlockMemGridmapBase< T, DIM, NONCYCLIC >.
Definition at line 121 of file blockmem_gridmap.h.
|
inlineoverridevirtual |
Implements planner_cspace::BlockMemGridmapBase< T, DIM, NONCYCLIC >.
Definition at line 267 of file blockmem_gridmap.h.
|
staticconstexprprotected |
Definition at line 83 of file blockmem_gridmap.h.
|
staticconstexprprotected |
Definition at line 84 of file blockmem_gridmap.h.
|
protected |
Definition at line 92 of file blockmem_gridmap.h.
|
protected |
Definition at line 91 of file blockmem_gridmap.h.
|
protected |
Definition at line 88 of file blockmem_gridmap.h.
|
protected |
Definition at line 86 of file blockmem_gridmap.h.
|
protected |
Definition at line 93 of file blockmem_gridmap.h.
|
protected |
Definition at line 90 of file blockmem_gridmap.h.
|
protected |
Definition at line 89 of file blockmem_gridmap.h.
|
protected |
Definition at line 87 of file blockmem_gridmap.h.