A message that can be transmitted on a message queue.
More...
#include <MessageTypes.h>
|
uint32_t | prio_ |
| The priority of the message.
|
|
MessageType | msgType_ |
| The type of the message.
|
|
A message that can be transmitted on a message queue.
fesa::AbstractMessage::AbstractMessage |
( |
std::istream & |
stream, |
|
|
MessageType |
msgType |
|
) |
| |
Constructor. Create a message from serialized data.
- Parameters
-
stream | The stream that contains the data |
msgType | The type of the message |
Compare priorities (needed because this class is an element of a priority queue)
- Parameters
-
msg | The message to compare to |
- Returns
- 'true' if the priority is smaller than the priority of msg, 'false' otherwise
void fesa::AbstractMessage::serialize |
( |
std::ostream & |
stream | ) |
const |
|
virtual |
The documentation for this class was generated from the following files:
- MessageTypes.h
- MessageTypes.cpp