Stores the location of a message in a buffer using a start position and a size.
Definition at line 15 of file messagelocation.h.
#include <xSens_MT4/xcommunication/include/xsens/messagelocation.h>
Public Member Functions | |
MessageLocation (int start=-1, int size=0) | |
Constructor, initializes by default to an invalid message. More... | |
bool | isValid () const |
Returns whether the stored message information describes a valid message. More... | |
Public Attributes | |
int | m_startPos |
The offset of the first byte of the message or -1 if no message. More... | |
int | m_size |
The size of the message, when less than 0 it indicates the expected message size. More... | |
|
inline |
Constructor, initializes by default to an invalid message.
start | The offset of the first byte of the message |
size | The size of the message |
Definition at line 30 of file messagelocation.h.
|
inline |
Returns whether the stored message information describes a valid message.
Definition at line 38 of file messagelocation.h.
References m_size, and m_startPos.
int MessageLocation::m_size |
The size of the message, when less than 0 it indicates the expected message size.
Definition at line 22 of file messagelocation.h.
Referenced by ProtocolHandler::findMessage(), and isValid().
int MessageLocation::m_startPos |
The offset of the first byte of the message or -1 if no message.
Definition at line 19 of file messagelocation.h.
Referenced by ProtocolHandler::findMessage(), and isValid().
Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST |