|
zpp
Zephyr C++20 Framework
|
heap class More...
#include <heap.hpp>
Public Member Functions | |
| heap () noexcept | |
| The default constructor. More... | |
| constexpr auto | native_handle () noexcept -> native_pointer |
| get the native zephyr heap handle. More... | |
| constexpr auto | native_handle () const noexcept -> native_const_pointer |
| get the native zephyr heap handle. More... | |
| heap (const heap &)=delete | |
| heap (heap &&)=delete | |
| heap & | operator= (const heap &)=delete |
| heap & | operator= (heap &&)=delete |
Public Member Functions inherited from zpp::base_heap< heap< T_Size > > | |
| base_heap (const base_heap &)=delete | |
| base_heap (base_heap &&)=delete | |
| void * | allocate (size_t bytes) noexcept |
| Allocate memory from this heap wainting forever. More... | |
| void * | allocate (size_t bytes, size_t align) noexcept |
| Allocate memory from this heap waiting forever. More... | |
| void * | try_allocate (size_t bytes) noexcept |
| Allocate memory from this heap without waiting. More... | |
| void * | try_allocate (size_t bytes, size_t align) noexcept |
| Allocate memory from this heap without waiting. More... | |
| void * | try_allocate_for (size_t bytes, const std::chrono::duration< T_Rep, T_Period > &timeout) noexcept |
| Allocate memory from this heap waiting with a timeout. More... | |
| void * | try_allocate_for (size_t bytes, size_t align, const std::chrono::duration< T_Rep, T_Period > &timeout) noexcept |
| Allocate memory from this heap waiting with a timeout. More... | |
| void | deallocate (void *mem) noexcept |
| Deallocate memory previously allocated. More... | |
| auto | native_handle () noexcept -> native_pointer |
| get the native zephyr heap handle. More... | |
| auto | native_handle () const noexcept -> native_const_pointer |
| get the native zephyr heap handle. More... | |
| base_heap & | operator= (const base_heap &)=delete |
| base_heap & | operator= (base_heap &&)=delete |
Static Public Member Functions | |
| static constexpr size_t | size () noexcept |
| Return the total size of this heap. More... | |
Additional Inherited Members | |
Public Types inherited from zpp::base_heap< heap< T_Size > > | |
| using | native_type = struct k_heap |
| using | native_pointer = native_type * |
| using | native_const_pointer = native_type const * |
Protected Member Functions inherited from zpp::base_heap< heap< T_Size > > | |
| constexpr | base_heap () noexcept |
| default protected constructor so only derived objects can be created More... | |
heap class
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlinestaticconstexprnoexcept |