#include <io_vector.hpp>
Public Member Functions | |
void | append (const void *base, std::size_t length) |
void | append (const BufferPacket &) |
void | clear () |
std::size_t | length () const |
const iovec * | base () const |
Private Attributes | |
std::vector< iovec > | m_vector |
IoVector eaeses population of struct msghdr. struct msghdr is required for sendmsg() calls.
Definition at line 18 of file io_vector.hpp.
void vanetza::IoVector::append | ( | const BufferPacket & | packet | ) |
Definition at line 20 of file io_vector.cpp.
void vanetza::IoVector::append | ( | const void * | base, |
std::size_t | length | ||
) |
Definition at line 12 of file io_vector.cpp.
const iovec * vanetza::IoVector::base | ( | ) | const |
Definition at line 33 of file io_vector.cpp.
void vanetza::IoVector::clear | ( | ) |
Definition at line 7 of file io_vector.cpp.
std::size_t vanetza::IoVector::length | ( | ) | const |
Definition at line 28 of file io_vector.cpp.
|
private |
Definition at line 28 of file io_vector.hpp.