Go to the documentation of this file.
26 #ifndef ODVA_ETHERNETIP_ENCAP_PACKET_H
27 #define ODVA_ETHERNETIP_ENCAP_PACKET_H
29 #include <boost/shared_ptr.hpp>
39 using boost::shared_ptr;
43 using serialization::Serializable;
44 using serialization::Reader;
45 using serialization::Writer;
58 :
header_(command, session_handle) { }
67 shared_ptr<Serializable> payload)
162 #endif // ODVA_ETHERNETIP_ENCAP_PACKET_H
Writer & serialize(Writer &writer) const
void setPayload(shared_ptr< Serializable > payload)
EncapHeader & getHeader()
EncapPacket(EIP_UINT command, EIP_UDINT session_handle, shared_ptr< Serializable > payload)
shared_ptr< Serializable > payload_
EncapPacket(EIP_UINT command=0, EIP_UDINT session_handle=0)
shared_ptr< Serializable > getPayload() const
void getPayloadAs(Serializable &result)
Reader & deserialize(Reader &reader, size_t length)
odva_ethernetip
Author(s): Kareem Shehata
autogenerated on Wed Mar 2 2022 00:38:55