Руслан Урядинский / libuavcan

Dependents:   UAVCAN UAVCAN_Subscriber

Embed: (wiki syntax)

« Back to documentation index

LimitedPoolAllocator Class Reference

LimitedPoolAllocator Class Reference

Limits the maximum number of blocks that can be allocated in a given allocator. More...

#include <dynamic_memory.hpp>

Inherits uavcan::IPoolAllocator.

Public Member Functions

virtual uint16_t getBlockCapacity () const
 Returns the maximum number of blocks this allocator can allocate.

Detailed Description

Limits the maximum number of blocks that can be allocated in a given allocator.

Definition at line 112 of file dynamic_memory.hpp.


Member Function Documentation

uint16_t getBlockCapacity (  ) const [virtual]

Returns the maximum number of blocks this allocator can allocate.

Implements IPoolAllocator.

Definition at line 36 of file uc_dynamic_memory.cpp.