DUNE: Uniform Navigational Environment
2016.05.0
|
Public Member Functions | |
Packet (size_t size=c_max_packet_size) | |
void | setCommand (uint32_t command) |
uint32_t | getCommand (void) const |
void | setSize (uint32_t size) |
uint32_t | getSize (void) const |
void | setByte (size_t index, uint8_t byte) |
template<typename T > | |
void | set (size_t index, const T &value) |
template<typename T > | |
void | get (unsigned index, T &value) const |
template<typename T > | |
void | getNoHandle (unsigned index, T &value) const |
uint8_t * | getData (void) |
const uint8_t * | getData (void) const |
void | dump (void) const |
uint64_t | getTimeStamp (void) const |
void | setTimeStamp (uint64_t time_stamp) |
|
inline |
|
inline |
References getSize().
|
inline |
References getData().
|
inline |
Retrieve command type.
|
inline |
Referenced by get(), getNoHandle(), getSize(), Sensors::Klein3500::Parser::parse(), set(), Sensors::Klein3500::CommandLink::setFilePrefix(), Sensors::Klein3500::CommandLink::setRecordingFilePath(), Sensors::Klein3500::CommandLink::setRecordingMode(), Sensors::Klein3500::CommandLink::setRecordingNewFile(), setSize(), Sensors::Klein3500::CommandLink::setStandBy(), Sensors::Klein3500::CommandLink::setTime(), and Sensors::Klein3500::CommandLink::unmountNFS().
|
inline |
|
inline |
References getData().
|
inline |
Retrieve message size.
References getData().
Referenced by dump(), and Sensors::Klein3500::Parser::parse().
|
inline |
Get packet's time of reception.
|
inline |
References getData().
|
inline |
|
inline |
Set command type.
[in] | type | command type. |
Referenced by Sensors::Klein3500::Parser::parse().
|
inline |
Set packet size.
[in] | size | message size. |
References getData().
Referenced by Sensors::Klein3500::Parser::parse().
|
inline |
Set packet's time of reception.
[in] | time_stamp | milliseconds since Unix Epoch. |