Go to the documentation of this file.
9 #ifndef PROTOCOLHANDLER_H
10 #define PROTOCOLHANDLER_H
26 virtual int type()
const;
struct XsByteArray XsByteArray
Message protocol handling class.
Interface class for protocol handlers.
virtual MessageLocation findMessage(XsMessage &rcv, const XsByteArray &raw) const
Find the first message in the raw byte stream.
virtual ~ProtocolHandler()
Destructor.
Stores the location of a message in a buffer using a start position and a size.
static int composeMessage(XsByteArray &raw, const XsMessage &msg)
Compose a message for transmission.
virtual int minimumMessageSize() const
Returns the minimum size of a valid message of this protocol including preambles and checksums.
virtual int maximumMessageSize() const
Returns the maximum size of a valid message of this protocol including preambles and checksums.
#define XSENS_DISABLE_COPY(className)
Add this macro to the start of a class definition to prevent automatic creation of copy functions.
Structure for storing a single message.
ProtocolHandler()
Default constructor.
virtual int type() const
Returns the type of the protocol handler.
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 | |