Go to the documentation of this file.
26 #ifndef ODVA_ETHERNETIP_FORWARD_OPEN_REQUEST_H
27 #define ODVA_ETHERNETIP_FORWARD_OPEN_REQUEST_H
30 #include <boost/shared_ptr.hpp>
38 using boost::shared_ptr;
42 using serialization::Serializable;
43 using serialization::Reader;
44 using serialization::Writer;
95 return (size & 0x7FFF) | (variable ? 0x2000000 : 0) | (priority & 0x03) << 26
96 | (type & 0x03) << 29 | (shared ? 0x80000000 : 0);
168 writer.
write(reserved);
169 writer.
write(reserved);
170 writer.
write(reserved);
185 throw std::logic_error(
"Not implemented");
193 throw std::logic_error(
"Not implemented");
202 #endif // ODVA_ETHERNETIP_FORWARD_OPEN_REQUEST_H
virtual Reader & deserialize(Reader &reader)
virtual Writer & serialize(Writer &writer) const
EIP_UINT originator_vendor_id
EIP_BYTE timeout_tick_size
EIP_DWORD o_to_t_conn_params
EIP_DWORD setTargetToOriginParams(EIP_UINT size, bool variable, EIP_BYTE priority, EIP_BYTE type, bool shared)
static EIP_DWORD calcConnectionParams(EIP_UINT size, bool variable, EIP_BYTE priority, EIP_BYTE type, bool shared)
EIP_USINT timeout_multiplyer
EIP_UDINT t_to_o_connection_id
virtual size_t getLength() const
EIP_UDINT o_to_t_connection_id
virtual Writer & serialize(Writer &writer) const
@ CONN_PRIORITY_SCHEDULED
virtual Reader & deserialize(Reader &reader, size_t length)
virtual size_t getLength() const
EIP_DWORD t_to_o_conn_params
EIP_DWORD setOriginToTargetParams(EIP_UINT size, bool variable, EIP_BYTE priority, EIP_BYTE type, bool shared)
odva_ethernetip
Author(s): Kareem Shehata
autogenerated on Wed Mar 2 2022 00:38:56