Reply object that only checks the message identifier. More...
#include <replyobject.h>

Public Member Functions | |
| virtual bool | isReplyFor (XsMessage const &message) |
| MidReplyObject (uint8_t messageId) | |
| MidReplyObject constructor. More... | |
| virtual uint8_t | msgId () const |
| ~MidReplyObject (void) | |
| MidReplyObject destructor. More... | |
Public Member Functions inherited from ReplyObject | |
| XsMessage | message (uint32_t timeout) |
| Blocks until a message has been set by setMessage() then returns that message. More... | |
| ReplyObject () | |
| Default constructor. More... | |
| void | setMessage (const XsMessage &msg) |
| Sets a message as reply message and trigger the semaphore which will unblock any waiting message() calls. More... | |
| virtual | ~ReplyObject () |
Private Attributes | |
| uint8_t | m_messageId |
Reply object that only checks the message identifier.
Definition at line 108 of file replyobject.h.
| MidReplyObject::MidReplyObject | ( | uint8_t | messageId | ) |
MidReplyObject constructor.
| [in] | messageId | the id of the message to wait for |
Definition at line 120 of file replyobject.cpp.
| MidReplyObject::~MidReplyObject | ( | void | ) |
MidReplyObject destructor.
Definition at line 128 of file replyobject.cpp.
|
virtual |
| [in] | msg | the message to check |
Implements ReplyObject.
Definition at line 142 of file replyobject.cpp.
|
virtual |
Implements ReplyObject.
Definition at line 134 of file replyobject.cpp.
|
private |
Definition at line 117 of file replyobject.h.