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

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

#include <write_buffer.h>

Public Member Functions

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

Public Attributes

uint8_t data [MAVLINK_MAX_PACKET_LEN]
 
size_t len
 
size_t pos
 

Detailed Description

Struct for buffering the contents of a mavlink message.

Definition at line 50 of file write_buffer.h.

Constructor & Destructor Documentation

mavrosflight::WriteBuffer::WriteBuffer ( )
inline

Definition at line 56 of file write_buffer.h.

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

Definition at line 58 of file write_buffer.h.

Member Function Documentation

uint8_t* mavrosflight::WriteBuffer::dpos ( )
inline

Definition at line 64 of file write_buffer.h.

size_t mavrosflight::WriteBuffer::nbytes ( )
inline

Definition at line 66 of file write_buffer.h.

Member Data Documentation

uint8_t mavrosflight::WriteBuffer::data[MAVLINK_MAX_PACKET_LEN]

Definition at line 52 of file write_buffer.h.

size_t mavrosflight::WriteBuffer::len

Definition at line 53 of file write_buffer.h.

size_t mavrosflight::WriteBuffer::pos

Definition at line 54 of file write_buffer.h.


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


rosflight
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 20:00:14