MRPT
1.9.9
|
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.14 for MRPT 1.9.9 Git: 8fe78517f Sun Jul 14 19:43:28 2019 +0200 at lun oct 28 02:10:00 CET 2019 |