Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: UAVCAN UAVCAN_Subscriber
IPoolAllocator Class Reference
This interface is used by other library components that need dynamic memory. More...
#include <dynamic_memory.hpp>
Inherited by HeapBasedPoolAllocator< uavcan::MemPoolBlockSize >, NullAllocator, PoolAllocator< SharedMemoryPoolSize, uavcan::MemPoolBlockSize >, PoolAllocator< uavcan::MemPoolBlockSize *100, uavcan::MemPoolBlockSize >, HeapBasedPoolAllocator< BlockSize, RaiiSynchronizer >, LimitedPoolAllocator, and PoolAllocator< PoolSize, BlockSize, RaiiSynchronizer >.
Public Member Functions | |
virtual uint16_t | getBlockCapacity () const =0 |
Returns the maximum number of blocks this allocator can allocate. |
Detailed Description
This interface is used by other library components that need dynamic memory.
Definition at line 21 of file dynamic_memory.hpp.
Member Function Documentation
virtual uint16_t getBlockCapacity | ( | ) | const [pure virtual] |
Returns the maximum number of blocks this allocator can allocate.
Implemented in PoolAllocator< PoolSize, BlockSize, RaiiSynchronizer >, LimitedPoolAllocator, HeapBasedPoolAllocator< BlockSize, RaiiSynchronizer >, NullAllocator, PoolAllocator< SharedMemoryPoolSize, uavcan::MemPoolBlockSize >, PoolAllocator< uavcan::MemPoolBlockSize *100, uavcan::MemPoolBlockSize >, and HeapBasedPoolAllocator< uavcan::MemPoolBlockSize >.
Generated on Tue Jul 12 2022 17:17:37 by
