Go to the documentation of this file.
96 virtual uint8_t
msgId()
const = 0;
115 virtual uint8_t
msgId()
const;
130 virtual uint8_t
msgId()
const;
Abstract reply object. Blocks on a semaphore when requesting the message until the message has been s...
virtual bool isReplyFor(XsMessage const &message)
XsMessage message(uint32_t timeout)
Blocks until a message has been set by setMessage() then returns that message.
~MidAndDataReplyObject()
MidAndDataReplyObject destructor.
void setData(uint8_t const *data)
Copies data from 'data' into this object. This is the data to wait for.
void freeData()
Frees allocated data (if any)
MidReplyObject(uint8_t messageId)
MidReplyObject constructor.
MidAndDataReplyObject(uint8_t messageId, XsSize offset, XsSize size, uint8_t const *data)
MidAndDataReplyObject constructor.
virtual uint8_t msgId() const
ReplyObject()
Default constructor.
size_t XsSize
XsSize must be unsigned number!
virtual uint8_t msgId() const =0
Structure for storing a single message.
xsens::WaitCondition * m_waitCondition
Reply object that checks the message identifier and data in the data field.
Reply object that only checks the message identifier.
virtual bool isReplyFor(XsMessage const &message)
virtual bool isReplyFor(XsMessage const &message)=0
void setMessage(const XsMessage &msg)
Sets a message as reply message and trigger the semaphore which will unblock any waiting message() ca...
virtual uint8_t msgId() const
A platform independent wait condition implementation.
~MidReplyObject(void)
MidReplyObject destructor.