#include <message_router_request.h>
Class to encapsulate a MessageRouterRequest data.
Definition at line 49 of file message_router_request.h.
eip::MessageRouterRequest::MessageRouterRequest |
( |
EIP_USINT |
service_code = 0 | ) |
|
|
inline |
virtual Reader& eip::MessageRouterRequest::deserialize |
( |
Reader & |
reader, |
|
|
size_t |
length |
|
) |
| |
|
inlinevirtual |
virtual Reader& eip::MessageRouterRequest::deserialize |
( |
Reader & |
reader | ) |
|
|
inlinevirtual |
shared_ptr<Serializable> eip::MessageRouterRequest::getData |
( |
| ) |
const |
|
inline |
Get the data object in this message request
- Returns
- Serializable data to be used for this request
Definition at line 82 of file message_router_request.h.
virtual size_t eip::MessageRouterRequest::getLength |
( |
| ) |
const |
|
inlinevirtual |
Get the length of serialized data that would be produced if serialized
- Returns
- Total length in bytes to be serialized
Definition at line 91 of file message_router_request.h.
Path& eip::MessageRouterRequest::getPath |
( |
| ) |
|
|
inline |
virtual Writer& eip::MessageRouterRequest::serialize |
( |
Writer & |
writer | ) |
const |
|
inlinevirtual |
Serialize data into the given buffer
- Parameters
-
writer | Writer to use for serialization |
- Returns
- the writer again
- Exceptions
-
std::length_error | if the buffer is too small for the header data |
Definition at line 107 of file message_router_request.h.
void eip::MessageRouterRequest::setData |
( |
shared_ptr< Serializable > |
data | ) |
|
|
inline |
Set the data to be used for this message router request
- Parameters
-
data | Serializable that will be used as the data object |
Definition at line 73 of file message_router_request.h.
shared_ptr<Serializable> eip::MessageRouterRequest::data_ |
|
private |
Path eip::MessageRouterRequest::path_ |
|
private |
The documentation for this class was generated from the following file: