Contains data received from a device or read from a file.
This class is used by XDA for easy access to data contained in a message. It analyzes its internal XsMessage upon contruction to give access to the individual contained pieces of data. New data can also be added to the XsDataPacket or updated if it already existed.
Definition at line 180 of file xsdatapacket.h.
#include <xSens_MT4/xstypes/include/xsens/xsdatapacket.h>
Public Attributes | |
XsMessage | m_msg |
The message that contains the data. More... | |
XsMessage | m_legacyMsg |
Optional legacy MtData message as received (for logging the received data only) More... | |
XsDeviceId | m_deviceId |
The device Id to which the message belongs. More... | |
XsDataIdentifier | m_lastFoundId |
Last found data identifer, speeds up searches. More... | |
int | m_lastFoundOffset |
Offset of last found data identifier, speeds up searches. More... | |
uint16_t | m_itemCount |
The number of data items in the message. More... | |
uint16_t | m_originalMessageLength |
Length of the original message payload. More... | |
XsTimeStamp | m_toa |
Time of arrival (live packets only) More... | |
XsTimeStamp | m_packetId |
64 bit packet id, based on, depending on availability: (1) packet counter (2) sample time (3) arrival order More... | |
XsDeviceId XsDataPacket::m_deviceId |
The device Id to which the message belongs.
Definition at line 1133 of file xsdatapacket.h.
Referenced by InternalDataPacket::deviceId().
uint16_t XsDataPacket::m_itemCount |
The number of data items in the message.
Definition at line 1136 of file xsdatapacket.h.
Referenced by InternalDataPacket::itemCount().
XsDataIdentifier XsDataPacket::m_lastFoundId |
Last found data identifer, speeds up searches.
Definition at line 1134 of file xsdatapacket.h.
Referenced by InternalDataPacket::lastFoundId().
int XsDataPacket::m_lastFoundOffset |
Offset of last found data identifier, speeds up searches.
Definition at line 1135 of file xsdatapacket.h.
Referenced by InternalDataPacket::lastFoundOffset().
XsMessage XsDataPacket::m_legacyMsg |
Optional legacy MtData message as received (for logging the received data only)
Definition at line 1132 of file xsdatapacket.h.
Referenced by InternalDataPacket::legacyMsg().
XsMessage XsDataPacket::m_msg |
The message that contains the data.
Definition at line 1131 of file xsdatapacket.h.
Referenced by InternalDataPacket::msg().
uint16_t XsDataPacket::m_originalMessageLength |
Length of the original message payload.
Definition at line 1137 of file xsdatapacket.h.
Referenced by InternalDataPacket::originalMessageLength().
XsTimeStamp XsDataPacket::m_packetId |
64 bit packet id, based on, depending on availability: (1) packet counter (2) sample time (3) arrival order
Definition at line 1139 of file xsdatapacket.h.
Referenced by InternalDataPacket::packetId().
XsTimeStamp XsDataPacket::m_toa |
Time of arrival (live packets only)
Definition at line 1138 of file xsdatapacket.h.
Referenced by InternalDataPacket::toa().
Page generated by Doxygen 1.8.14 for MRPT 1.5.9 Git: 690a4699f Wed Apr 15 19:29:53 2020 +0200 at miƩ abr 15 19:30:12 CEST 2020 |