Go to the documentation of this file.
65 #ifndef IPROTOCOLMANAGER_H
66 #define IPROTOCOLMANAGER_H
A list of uint8_t values.
Interface class for protocol manager.
Structure for storing a single message.
virtual bool validateMessage(XsMessage const &msg) const =0
Performs a sanity check on the given message.
XsProtocolType
Protocol types (XsDevice::enableProtocol())
virtual ~IProtocolManager()
Destructor.
virtual XsMessage convertToMessage(XsProtocolType &type, MessageLocation &location, const XsByteArray &raw)=0
Converts raw data using location into a XsMessage object.
virtual MessageLocation findMessage(XsProtocolType &type, const XsByteArray &raw)=0
Will let all supported protocols attempt finding a raw message in the given raw data.
Stores the location of a message in a buffer using a start position and a size.