Public Member Functions | Public Attributes | List of all members
Serial::WriteBuffer Struct Reference

Struct for buffering the contents of a mavlink message. More...

Public Member Functions

const uint8_t * dpos () const
 
size_t nbytes () const
 
 WriteBuffer ()
 
 WriteBuffer (const uint8_t *buf, uint16_t len)
 

Public Attributes

uint8_t data [BUFFER_SIZE]
 
size_t len
 
size_t pos
 

Detailed Description

Struct for buffering the contents of a mavlink message.

Definition at line 109 of file include/serial.h.

Constructor & Destructor Documentation

◆ WriteBuffer() [1/2]

Serial::WriteBuffer::WriteBuffer ( )
inline

Definition at line 115 of file include/serial.h.

◆ WriteBuffer() [2/2]

Serial::WriteBuffer::WriteBuffer ( const uint8_t *  buf,
uint16_t  len 
)
inline
Todo:
Do something less catastrophic here

Definition at line 117 of file include/serial.h.

Member Function Documentation

◆ dpos()

const uint8_t* Serial::WriteBuffer::dpos ( ) const
inline

Definition at line 123 of file include/serial.h.

◆ nbytes()

size_t Serial::WriteBuffer::nbytes ( ) const
inline

Definition at line 125 of file include/serial.h.

Member Data Documentation

◆ data

uint8_t Serial::WriteBuffer::data[BUFFER_SIZE]

Definition at line 111 of file include/serial.h.

◆ len

size_t Serial::WriteBuffer::len

Definition at line 112 of file include/serial.h.

◆ pos

size_t Serial::WriteBuffer::pos

Definition at line 113 of file include/serial.h.


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


inertial_sense_ros
Author(s):
autogenerated on Sun Feb 28 2021 03:18:03