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