Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
uavcan::Map< Key, Value >::KVGroup Struct Reference
Inheritance diagram for uavcan::Map< Key, Value >::KVGroup:
Inheritance graph
[legend]

Public Types

enum  { NumKV = (MemPoolBlockSize - sizeof(LinkedListNode<KVGroup>)) / sizeof(KVPair) }
 

Public Member Functions

KVPairfind (const Key &key)
 
 KVGroup ()
 
- Public Member Functions inherited from uavcan::LinkedListNode< KVGroup >
KVGroup * getNextListNode () const
 
void setNextListNode (KVGroup *node)
 

Static Public Member Functions

static void destroy (KVGroup *&obj, IPoolAllocator &allocator)
 
static KVGroupinstantiate (IPoolAllocator &allocator)
 

Public Attributes

KVPair kvs [NumKV]
 

Additional Inherited Members

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

Detailed Description

template<typename Key, typename Value>
struct uavcan::Map< Key, Value >::KVGroup

Definition at line 55 of file map.hpp.

Member Enumeration Documentation

◆ anonymous enum

template<typename Key , typename Value >
anonymous enum
Enumerator
NumKV 

Definition at line 57 of file map.hpp.

Constructor & Destructor Documentation

◆ KVGroup()

template<typename Key , typename Value >
uavcan::Map< Key, Value >::KVGroup::KVGroup ( )
inline

Definition at line 60 of file map.hpp.

Member Function Documentation

◆ destroy()

template<typename Key , typename Value >
static void uavcan::Map< Key, Value >::KVGroup::destroy ( KVGroup *&  obj,
IPoolAllocator allocator 
)
inlinestatic

Definition at line 76 of file map.hpp.

◆ find()

template<typename Key , typename Value >
KVPair* uavcan::Map< Key, Value >::KVGroup::find ( const Key &  key)
inline

Definition at line 86 of file map.hpp.

◆ instantiate()

template<typename Key , typename Value >
static KVGroup* uavcan::Map< Key, Value >::KVGroup::instantiate ( IPoolAllocator allocator)
inlinestatic

Definition at line 66 of file map.hpp.

Member Data Documentation

◆ kvs

template<typename Key , typename Value >
KVPair uavcan::Map< Key, Value >::KVGroup::kvs[NumKV]

Definition at line 58 of file map.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