libuav original

Dependents:   UAVCAN UAVCAN_Subscriber

Embed: (wiki syntax)

« Back to documentation index

NullAllocator Class Reference

NullAllocator Class Reference

Zero allocator - always fails. More...

#include <transfer_test_helpers.hpp>

Inherits uavcan::IPoolAllocator.

Public Member Functions

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

Detailed Description

Zero allocator - always fails.

Definition at line 314 of file transfer_test_helpers.hpp.


Member Function Documentation

virtual uint16_t getBlockCapacity (  ) const [virtual]

Returns the maximum number of blocks this allocator can allocate.

Implements IPoolAllocator.

Definition at line 319 of file transfer_test_helpers.hpp.