Public Member Functions | Public Attributes | Private Attributes
eip::MessageRouterRequest Class Reference

#include <message_router_request.h>

Inheritance diagram for eip::MessageRouterRequest:
Inheritance graph
[legend]

List of all members.

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
PathgetPath ()
 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_

Detailed Description

Class to encapsulate a MessageRouterRequest data.

Definition at line 49 of file message_router_request.h.


Constructor & Destructor Documentation

Construct an empty RR data holder

Definition at line 58 of file message_router_request.h.


Member Function Documentation

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

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 [inline, virtual]

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.

Get the path in the given message router request

Returns:
reference to the current Path

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

Parameters:
writerWriter to use for serialization
Returns:
the writer again
Exceptions:
std::length_errorif 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:
dataSerializable that will be used as the data object

Definition at line 73 of file message_router_request.h.


Member Data Documentation

shared_ptr<Serializable> eip::MessageRouterRequest::data_ [private]

Definition at line 134 of file message_router_request.h.

Definition at line 135 of file message_router_request.h.

Definition at line 53 of file message_router_request.h.


The documentation for this class was generated from the following file:


odva_ethernetip
Author(s): Kareem Shehata
autogenerated on Sat Jun 8 2019 20:21:23