#include <message_router_request.h>
Public Member Functions | |
virtual Reader & | deserialize (Reader &reader, size_t length) |
virtual Reader & | deserialize (Reader &reader) |
shared_ptr< Serializable > | getData () const |
virtual size_t | getLength () const |
Path & | getPath () |
MessageRouterRequest (EIP_USINT service_code=0) | |
virtual Writer & | serialize (Writer &writer) const |
void | setData (shared_ptr< Serializable > data) |
Public Attributes | |
EIP_USINT | service |
Private Attributes | |
shared_ptr< Serializable > | data_ |
Path | path_ |
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] |
Construct an empty RR data holder
Definition at line 58 of file message_router_request.h.
virtual Reader& eip::MessageRouterRequest::deserialize | ( | Reader & | reader, |
size_t | length | ||
) | [inline, virtual] |
Not implemented. Never expect to have to receive this type of message.
Definition at line 120 of file message_router_request.h.
virtual Reader& eip::MessageRouterRequest::deserialize | ( | Reader & | reader | ) | [inline, virtual] |
Not implemented. Never expect to have to receive this type of message.
Definition at line 128 of file message_router_request.h.
shared_ptr<Serializable> eip::MessageRouterRequest::getData | ( | ) | const [inline] |
Get the data object in this message request
Definition at line 82 of file message_router_request.h.
virtual size_t eip::MessageRouterRequest::getLength | ( | ) | const [inline, virtual] |
Get the length of serialized data that would be produced if serialized
Definition at line 91 of file message_router_request.h.
Path& eip::MessageRouterRequest::getPath | ( | ) | [inline] |
Get the path in the given message router request
Definition at line 64 of file message_router_request.h.
virtual Writer& eip::MessageRouterRequest::serialize | ( | Writer & | writer | ) | const [inline, virtual] |
Serialize data into the given buffer
writer | Writer to use for serialization |
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
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] |
Definition at line 134 of file message_router_request.h.
Path eip::MessageRouterRequest::path_ [private] |
Definition at line 135 of file message_router_request.h.
Definition at line 53 of file message_router_request.h.