PX4 Firmware
PX4 Autopilot Software http://px4.io
|
Public Member Functions | |
int | read (int fd) |
void | move (void *dest, size_t pos, size_t n) |
Public Attributes | |
uint8_t | buffer [512] = {} |
size_t | buf_size = 0 |
Static Public Attributes | |
static const size_t | BUFFER_THRESHOLD = sizeof(buffer) * 0.8 |
Definition at line 72 of file protocol_splitter.cpp.
void ReadBuffer::move | ( | void * | dest, |
size_t | pos, | ||
size_t | n | ||
) |
Definition at line 109 of file protocol_splitter.cpp.
Referenced by Mavlink2Dev::read(), and RtpsDev::read().
int ReadBuffer::read | ( | int | fd | ) |
Definition at line 84 of file protocol_splitter.cpp.
References read().
Referenced by Mavlink2Dev::read(), and RtpsDev::read().
size_t ReadBuffer::buf_size = 0 |
Definition at line 79 of file protocol_splitter.cpp.
Referenced by Mavlink2Dev::read(), and RtpsDev::read().
uint8_t ReadBuffer::buffer[512] = {} |
Definition at line 78 of file protocol_splitter.cpp.
Referenced by Mavlink2Dev::read(), and RtpsDev::read().
|
static |
Definition at line 81 of file protocol_splitter.cpp.