Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
uavcan::Multiset< T >::Chunk Struct Reference
Inheritance diagram for uavcan::Multiset< T >::Chunk:
Inheritance graph
[legend]

Public Types

enum  { NumItems = (MemPoolBlockSize - sizeof(LinkedListNode<Chunk>)) / sizeof(Item) }
 

Public Member Functions

 Chunk ()
 
ItemfindFreeSlot ()
 
- Public Member Functions inherited from uavcan::LinkedListNode< Chunk >
Chunk * getNextListNode () const
 
void setNextListNode (Chunk *node)
 

Static Public Member Functions

static void destroy (Chunk *&obj, IPoolAllocator &allocator)
 
static Chunkinstantiate (IPoolAllocator &allocator)
 

Public Attributes

Item items [NumItems]
 

Additional Inherited Members

- Protected Member Functions inherited from uavcan::LinkedListNode< Chunk >
 LinkedListNode ()
 
 ~LinkedListNode ()
 

Detailed Description

template<typename T>
struct uavcan::Multiset< T >::Chunk

Definition at line 73 of file multiset.hpp.

Member Enumeration Documentation

◆ anonymous enum

template<typename T >
anonymous enum
Enumerator
NumItems 

Definition at line 75 of file multiset.hpp.

Constructor & Destructor Documentation

◆ Chunk()

template<typename T >
uavcan::Multiset< T >::Chunk::Chunk ( )
inline

Definition at line 78 of file multiset.hpp.

Member Function Documentation

◆ destroy()

template<typename T >
static void uavcan::Multiset< T >::Chunk::destroy ( Chunk *&  obj,
IPoolAllocator allocator 
)
inlinestatic

Definition at line 95 of file multiset.hpp.

◆ findFreeSlot()

template<typename T >
Item* uavcan::Multiset< T >::Chunk::findFreeSlot ( )
inline

Definition at line 105 of file multiset.hpp.

◆ instantiate()

template<typename T >
static Chunk* uavcan::Multiset< T >::Chunk::instantiate ( IPoolAllocator allocator)
inlinestatic

Definition at line 85 of file multiset.hpp.

Member Data Documentation

◆ items

template<typename T >
Item uavcan::Multiset< T >::Chunk::items[NumItems]

Definition at line 76 of file multiset.hpp.


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


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