Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
uavcan::TransferBufferManagerEntry::Block Struct Reference
Inheritance diagram for uavcan::TransferBufferManagerEntry::Block:
Inheritance graph
[legend]

Public Types

enum  { Size = MemPoolBlockSize - sizeof(LinkedListNode<Block>) }
 

Public Member Functions

void read (uint8_t *&outptr, unsigned target_offset, unsigned &total_offset, unsigned &left_to_read)
 
void write (const uint8_t *&inptr, unsigned target_offset, unsigned &total_offset, unsigned &left_to_write)
 
- Public Member Functions inherited from uavcan::LinkedListNode< Block >
Block * getNextListNode () const
 
void setNextListNode (Block *node)
 

Static Public Member Functions

static void destroy (Block *&obj, IPoolAllocator &allocator)
 
static Blockinstantiate (IPoolAllocator &allocator)
 

Public Attributes

uint8_t data [static_cast< unsigned >(Size)]
 

Additional Inherited Members

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

Detailed Description

Definition at line 105 of file transfer_buffer.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
Size 

Definition at line 107 of file transfer_buffer.hpp.

Member Function Documentation

◆ destroy()

void uavcan::TransferBufferManagerEntry::Block::destroy ( Block *&  obj,
IPoolAllocator allocator 
)
static

Definition at line 89 of file uc_transfer_buffer.cpp.

◆ instantiate()

TransferBufferManagerEntry::Block * uavcan::TransferBufferManagerEntry::Block::instantiate ( IPoolAllocator allocator)
static

Definition at line 79 of file uc_transfer_buffer.cpp.

◆ read()

void uavcan::TransferBufferManagerEntry::Block::read ( uint8_t *&  outptr,
unsigned  target_offset,
unsigned &  total_offset,
unsigned &  left_to_read 
)

Definition at line 99 of file uc_transfer_buffer.cpp.

◆ write()

void uavcan::TransferBufferManagerEntry::Block::write ( const uint8_t *&  inptr,
unsigned  target_offset,
unsigned &  total_offset,
unsigned &  left_to_write 
)

Definition at line 113 of file uc_transfer_buffer.cpp.

Member Data Documentation

◆ data

uint8_t uavcan::TransferBufferManagerEntry::Block::data[static_cast< unsigned >(Size)]

Definition at line 108 of file transfer_buffer.hpp.


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


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