#include <message_router_response.h>
|
| shared_ptr< Serializable > | readData (Reader &reader, int length) |
| |
Class to encapsulate a MessageRouterResponse data.
Definition at line 48 of file message_router_response.h.
| eip::MessageRouterResponse::MessageRouterResponse |
( |
| ) |
|
|
inline |
| Reader & eip::MessageRouterResponse::deserialize |
( |
Reader & |
reader, |
|
|
size_t |
length |
|
) |
| |
|
virtual |
| virtual Reader& eip::MessageRouterResponse::deserialize |
( |
Reader & |
reader | ) |
|
|
inlinevirtual |
| shared_ptr<Serializable> eip::MessageRouterResponse::getAdditionalStatus |
( |
| ) |
const |
|
inline |
Get the additional status data object in this message
- Returns
- Serializable additional status to be used for this response
Definition at line 64 of file message_router_response.h.
| size_t eip::MessageRouterResponse::getLength |
( |
| ) |
const |
|
virtual |
Get the length of serialized data that would be produced if serialized
- Returns
- Total length in bytes to be serialized
Definition at line 37 of file message_router_response.cpp.
| shared_ptr<Serializable> eip::MessageRouterResponse::getResponseData |
( |
| ) |
const |
|
inline |
Get the response data object in this message
- Returns
- Serializable data to be used for this response
Definition at line 73 of file message_router_response.h.
| shared_ptr< Serializable > eip::MessageRouterResponse::readData |
( |
Reader & |
reader, |
|
|
int |
length |
|
) |
| |
|
private |
Helper to read data fields. Simply produces SerializableBuffers of the given length, or a null pointer if length <= 0.
- Parameters
-
| reader | Reader to use to read buffer data |
| length | Length in bytes to read. If less than or equal to zero, then null pointer is returned. |
- Returns
- shared_ptr to a SerializableBuffer with the data read
Definition at line 65 of file message_router_response.cpp.
| virtual Writer& eip::MessageRouterResponse::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 90 of file message_router_response.h.
| shared_ptr<Serializable> eip::MessageRouterResponse::additional_status_ |
|
private |
| EIP_USINT eip::MessageRouterResponse::general_status |
| shared_ptr<Serializable> eip::MessageRouterResponse::response_data_ |
|
private |
| EIP_USINT eip::MessageRouterResponse::service |
The documentation for this class was generated from the following files: