#include <memory_pool.hpp>
◆ DataType
template<typename NodeT, typename BlockT>
◆ BoostMemoryPool()
template<typename NodeT, typename BlockT>
◆ allocateNode() [1/2]
template<typename NodeT, typename BlockT>
| NodeT* se::BoostMemoryPool< NodeT, BlockT >::allocateNode |
( |
const Eigen::Vector3i & |
node_coord, |
|
|
const unsigned int |
node_size |
|
) |
| |
|
inline |
Allocate a node using its coordinates and size.
- Warning
- Should only be used for the root.
◆ allocateNode() [2/2]
template<typename NodeT, typename BlockT>
Allocate a node using its parent and child index.
- Parameters
-
| [in] | parent_ptr | The pointer to the parent node |
| [in] | child_idx | The index of the child to be allocated |
| [in] | init_data | The data to initialise the child node with |
- Returns
- The pointer to the child node.
◆ allocateBlock()
template<typename NodeT, typename BlockT>
Allocate a block using its parent and child index.
- Parameters
-
| [in] | parent_ptr | The pointer to the parent node |
| [in] | child_idx | The index of the child to be allocated |
| [in] | init_data | The data to initialise the child node with |
- Returns
- The pointer to the child block.
◆ deleteNode()
template<typename NodeT, typename BlockT>
◆ deleteBlock()
template<typename NodeT, typename BlockT>
◆ node_buffer_
template<typename NodeT, typename BlockT>
◆ block_buffer_
template<typename NodeT, typename BlockT>
The documentation for this class was generated from the following file: