Public Member Functions | List of all members
uavcan::IPoolAllocator Class Referenceabstract

#include <dynamic_memory.hpp>

Inheritance diagram for uavcan::IPoolAllocator:
Inheritance graph
[legend]

Public Member Functions

virtual void * allocate (std::size_t size)=0
 
virtual void deallocate (const void *ptr)=0
 
virtual uint16_t getBlockCapacity () const =0
 
virtual ~IPoolAllocator ()
 

Detailed Description

This interface is used by other library components that need dynamic memory.

Definition at line 21 of file dynamic_memory.hpp.

Constructor & Destructor Documentation

◆ ~IPoolAllocator()

virtual uavcan::IPoolAllocator::~IPoolAllocator ( )
inlinevirtual

Definition at line 24 of file dynamic_memory.hpp.

Member Function Documentation

◆ allocate()

virtual void* uavcan::IPoolAllocator::allocate ( std::size_t  size)
pure virtual

◆ deallocate()

virtual void uavcan::IPoolAllocator::deallocate ( const void *  ptr)
pure virtual

◆ getBlockCapacity()

virtual uint16_t uavcan::IPoolAllocator::getBlockCapacity ( ) const
pure virtual

The documentation for this class was generated from the following file:


uavcan_communicator
Author(s):
autogenerated on Fri Dec 13 2024 03:10:04