A message type for on-demand events.
More...
#include <MessageTypes.h>
|
uint32_t | prio_ |
| The priority of the message.
|
|
MessageType | msgType_ |
| The type of the message.
|
|
A message type for on-demand events.
fesa::OnDemandMessage::OnDemandMessage |
( |
const std::string & |
cycleName, |
|
|
timestamp_ns |
cycleStamp, |
|
|
const char * |
payload, |
|
|
size_t |
payloadSize, |
|
|
uint32_t & |
prio, |
|
|
uint32_t |
synchronizationId |
|
) |
| |
Constructor.
- Parameters
-
cycleName | |
cycleStamp | |
payload | |
payloadSize | |
prio | The priority of the message |
synchronizationId | the id of the synchronization to wait for |
fesa::OnDemandMessage::OnDemandMessage |
( |
std::istream & |
stream | ) |
|
|
explicit |
Constructor. Create a message from serialized data.
- Parameters
-
stream | The stream that contains the serialized data |
Copy constructor. Needed to properly copy the heap allocated payload.
- Parameters
-
msg | The message to be copied |
void fesa::OnDemandMessage::serialize |
( |
std::ostream & |
stream | ) |
const |
|
virtual |
Serialize the information in the message into a stream.
- Parameters
-
stream | The serialized message |
Reimplemented from fesa::AbstractMessage.
The documentation for this class was generated from the following files:
- MessageTypes.h
- MessageTypes.cpp