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

#include <forward_open_success.h>

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

List of all members.

Public Member Functions

virtual Reader & deserialize (Reader &reader, size_t length)
virtual Reader & deserialize (Reader &reader)
virtual size_t getLength () const
shared_ptr< Serializable > getResponseData () const
virtual Writer & serialize (Writer &writer) const

Public Attributes

EIP_UINT connection_sn
EIP_UDINT o_to_t_api
EIP_UDINT o_to_t_connection_id
EIP_UDINT originator_sn
EIP_UINT originator_vendor_id
EIP_UDINT t_to_o_api
EIP_UDINT t_to_o_connection_id

Private Attributes

shared_ptr< Serializable > response_data_

Detailed Description

Class to encapsulate the response to a Forward Open request when successful Note that the response is different if the request fails.

Definition at line 53 of file forward_open_success.h.


Member Function Documentation

virtual Reader& eip::ForwardOpenSuccess::deserialize ( Reader &  reader,
size_t  length 
) [inline, virtual]

Don't need extra length info, as the message data defines its length

Definition at line 109 of file forward_open_success.h.

virtual Reader& eip::ForwardOpenSuccess::deserialize ( Reader &  reader) [inline, virtual]

Deserialize the forward open response data. Length is implicit.

Definition at line 117 of file forward_open_success.h.

virtual size_t eip::ForwardOpenSuccess::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 78 of file forward_open_success.h.

shared_ptr<Serializable> eip::ForwardOpenSuccess::getResponseData ( ) const [inline]

Get the response data object in this message

Returns:
Serializable data to be used for this response

Definition at line 69 of file forward_open_success.h.

virtual Writer& eip::ForwardOpenSuccess::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 101 of file forward_open_success.h.


Member Data Documentation

Definition at line 59 of file forward_open_success.h.

Definition at line 62 of file forward_open_success.h.

Definition at line 57 of file forward_open_success.h.

Definition at line 61 of file forward_open_success.h.

Definition at line 60 of file forward_open_success.h.

shared_ptr<Serializable> eip::ForwardOpenSuccess::response_data_ [private]

Definition at line 143 of file forward_open_success.h.

Definition at line 63 of file forward_open_success.h.

Definition at line 58 of file forward_open_success.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