Public Member Functions | Public Attributes | List of all members
mavrosflight::MavlinkComm::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 [MAVLINK_MAX_PACKET_LEN]
 
size_t len
 
size_t pos
 

Detailed Description

Struct for buffering the contents of a mavlink message.

Definition at line 121 of file mavlink_comm.h.

Constructor & Destructor Documentation

mavrosflight::MavlinkComm::WriteBuffer::WriteBuffer ( )
inline

Definition at line 127 of file mavlink_comm.h.

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

Definition at line 129 of file mavlink_comm.h.

Member Function Documentation

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

Definition at line 135 of file mavlink_comm.h.

size_t mavrosflight::MavlinkComm::WriteBuffer::nbytes ( ) const
inline

Definition at line 137 of file mavlink_comm.h.

Member Data Documentation

uint8_t mavrosflight::MavlinkComm::WriteBuffer::data[MAVLINK_MAX_PACKET_LEN]

Definition at line 123 of file mavlink_comm.h.

size_t mavrosflight::MavlinkComm::WriteBuffer::len

Definition at line 124 of file mavlink_comm.h.

size_t mavrosflight::MavlinkComm::WriteBuffer::pos

Definition at line 125 of file mavlink_comm.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