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

#include <connection.h>

List of all members.

Public Member Functions

 Connection (const EIP_CONNECTION_INFO_T &o_to_t, const EIP_CONNECTION_INFO_T &t_to_o)
shared_ptr< ForwardCloseRequestcreateForwardCloseRequest ()
shared_ptr< ForwardOpenRequestcreateForwardOpenRequest ()
PathgetPath ()
void setConnectionPoints (EIP_USINT origin, EIP_USINT target)
bool verifyForwardCloseResult (const ForwardCloseSuccess &result)
bool verifyForwardOpenResult (const ForwardOpenSuccess &result)

Public Attributes

EIP_UINT connection_sn
EIP_UDINT o_to_t_api
EIP_UINT o_to_t_buffer_size
EIP_UDINT o_to_t_connection_id
EIP_UDINT o_to_t_rpi
EIP_UDINT originator_sn
EIP_UINT originator_vendor_id
EIP_UDINT t_to_o_api
EIP_UINT t_to_o_buffer_size
EIP_UDINT t_to_o_connection_id
EIP_UDINT t_to_o_rpi
EIP_USINT timeout_multiplyer
EIP_BYTE timeout_tick_size
EIP_USINT timeout_ticks

Private Attributes

Path path_

Detailed Description

Class to encapsulate the EIP concept of a connection.

Definition at line 46 of file connection.h.


Constructor & Destructor Documentation

Create a connection instance using the directional values and reasonable defaults

Parameters:
o_to_tOriginator to Target info
t_to_oTarget to Originator info

Definition at line 38 of file connection.cpp.


Member Function Documentation

Create a forward close request from the data in this connection object

Definition at line 88 of file connection.cpp.

Create the forward open request from the data in this connection object

Definition at line 61 of file connection.cpp.

Get the path in the given message router request

Returns:
reference to the current Path

Definition at line 80 of file connection.h.

Shortcut to set the path based on connection points

Parameters:
originstarting connection point
targetending connection point

Definition at line 52 of file connection.cpp.

Verify that the result of a forward close is valid and update accordingly

Returns:
false if there are signficant errors in the result

Definition at line 132 of file connection.cpp.

Verify that the result of a forward open is valid and update accordingly

Returns:
false if there are significant errors in the result

Definition at line 105 of file connection.cpp.


Member Data Documentation

Definition at line 52 of file connection.h.

Definition at line 63 of file connection.h.

Definition at line 66 of file connection.h.

Definition at line 54 of file connection.h.

Definition at line 61 of file connection.h.

Definition at line 51 of file connection.h.

Definition at line 50 of file connection.h.

Definition at line 115 of file connection.h.

Definition at line 64 of file connection.h.

Definition at line 67 of file connection.h.

Definition at line 55 of file connection.h.

Definition at line 62 of file connection.h.

Definition at line 59 of file connection.h.

Definition at line 57 of file connection.h.

Definition at line 58 of file connection.h.


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


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