Main MRPT website > C++ reference for MRPT 1.9.9
List of all members | Public Member Functions | Public Attributes
InternalDataPacket Class Reference

Detailed Description

Definition at line 23 of file int_xsdatapacket.cpp.

Inheritance diagram for InternalDataPacket:
Inheritance graph

Public Member Functions

XsMessagemsg ()
 The message that contains the data. More...
 
XsMessagelegacyMsg ()
 Optional legacy MtData message as received (for logging the received data only) More...
 
XsDeviceIddeviceId ()
 The device Id to which the message belongs. More...
 
XsDataIdentifierlastFoundId ()
 Last found data identifer, speeds up searches. More...
 
int & lastFoundOffset ()
 Offset of last found data identifier, speeds up searches. More...
 
uint16_titemCount ()
 The number of data items in the message. More...
 
uint16_toriginalMessageLength ()
 Length of the original message payload. More...
 
XsTimeStamptoa ()
 Time of arrival (live packets only) More...
 
XsTimeStamppacketId ()
 64 bit packet id, based on, depending on availability: (1) packet counter (2) sample time (3) arrival order More...
 

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...
 

Member Function Documentation

◆ deviceId()

XsDeviceId& InternalDataPacket::deviceId ( )
inline

The device Id to which the message belongs.

Definition at line 32 of file int_xsdatapacket.cpp.

References XsDataPacket::m_deviceId.

Referenced by XsDataPacket_assignFromXsLegacyDataPacket().

Here is the caller graph for this function:

◆ itemCount()

uint16_t& InternalDataPacket::itemCount ( void  )
inline

The number of data items in the message.

Definition at line 38 of file int_xsdatapacket.cpp.

References XsDataPacket::m_itemCount.

Referenced by XsDataPacket_assignFromXsLegacyDataPacket().

Here is the caller graph for this function:

◆ lastFoundId()

XsDataIdentifier& InternalDataPacket::lastFoundId ( )
inline

Last found data identifer, speeds up searches.

Definition at line 34 of file int_xsdatapacket.cpp.

References XsDataPacket::m_lastFoundId.

◆ lastFoundOffset()

int& InternalDataPacket::lastFoundOffset ( )
inline

Offset of last found data identifier, speeds up searches.

Definition at line 36 of file int_xsdatapacket.cpp.

References XsDataPacket::m_lastFoundOffset.

◆ legacyMsg()

XsMessage& InternalDataPacket::legacyMsg ( )
inline

Optional legacy MtData message as received (for logging the received data only)

Definition at line 30 of file int_xsdatapacket.cpp.

References XsDataPacket::m_legacyMsg.

Referenced by XsDataPacket_assignFromXsLegacyDataPacket().

Here is the caller graph for this function:

◆ msg()

XsMessage& InternalDataPacket::msg ( )
inline

The message that contains the data.

Definition at line 28 of file int_xsdatapacket.cpp.

References XsDataPacket::m_msg.

◆ originalMessageLength()

uint16_t& InternalDataPacket::originalMessageLength ( )
inline

Length of the original message payload.

Definition at line 40 of file int_xsdatapacket.cpp.

References XsDataPacket::m_originalMessageLength.

Referenced by XsDataPacket_assignFromXsLegacyDataPacket().

Here is the caller graph for this function:

◆ packetId()

XsTimeStamp& InternalDataPacket::packetId ( )
inline

64 bit packet id, based on, depending on availability: (1) packet counter (2) sample time (3) arrival order

Definition at line 44 of file int_xsdatapacket.cpp.

References XsDataPacket::m_packetId.

Referenced by XsDataPacket_assignFromXsLegacyDataPacket().

Here is the caller graph for this function:

◆ toa()

XsTimeStamp& InternalDataPacket::toa ( )
inline

Time of arrival (live packets only)

Definition at line 42 of file int_xsdatapacket.cpp.

References XsDataPacket::m_toa.

Referenced by XsDataPacket_assignFromXsLegacyDataPacket().

Here is the caller graph for this function:

Member Data Documentation

◆ m_deviceId

XsDeviceId XsDataPacket::m_deviceId
inherited

The device Id to which the message belongs.

Definition at line 1228 of file xsdatapacket.h.

Referenced by deviceId().

◆ m_itemCount

uint16_t XsDataPacket::m_itemCount
inherited

The number of data items in the message.

Definition at line 1234 of file xsdatapacket.h.

Referenced by itemCount().

◆ m_lastFoundId

XsDataIdentifier XsDataPacket::m_lastFoundId
inherited

Last found data identifer, speeds up searches.

Definition at line 1230 of file xsdatapacket.h.

Referenced by lastFoundId().

◆ m_lastFoundOffset

int XsDataPacket::m_lastFoundOffset
inherited

Offset of last found data identifier, speeds up searches.

Definition at line 1232 of file xsdatapacket.h.

Referenced by lastFoundOffset().

◆ m_legacyMsg

XsMessage XsDataPacket::m_legacyMsg
inherited

Optional legacy MtData message as received (for logging the received data only)

Definition at line 1226 of file xsdatapacket.h.

Referenced by legacyMsg().

◆ m_msg

XsMessage XsDataPacket::m_msg
inherited

The message that contains the data.

Definition at line 1223 of file xsdatapacket.h.

Referenced by msg().

◆ m_originalMessageLength

uint16_t XsDataPacket::m_originalMessageLength
inherited

Length of the original message payload.

Definition at line 1236 of file xsdatapacket.h.

Referenced by originalMessageLength().

◆ m_packetId

XsTimeStamp XsDataPacket::m_packetId
inherited

64 bit packet id, based on, depending on availability: (1) packet counter (2) sample time (3) arrival order

Definition at line 1241 of file xsdatapacket.h.

Referenced by packetId().

◆ m_toa

XsTimeStamp XsDataPacket::m_toa
inherited

Time of arrival (live packets only)

Definition at line 1238 of file xsdatapacket.h.

Referenced by toa().




Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019