26 #ifndef ODVA_ETHERNETIP_FORWARD_CLOSE_SUCCESS_H 27 #define ODVA_ETHERNETIP_FORWARD_CLOSE_SUCCESS_H 30 #include <boost/shared_ptr.hpp> 31 #include <boost/make_shared.hpp> 39 using boost::shared_ptr;
40 using boost::make_shared;
44 using serialization::Serializable;
45 using serialization::SerializableBuffer;
46 using serialization::Reader;
47 using serialization::Writer;
77 +
sizeof(originator_vendor_id)
95 throw std::logic_error(
"Not implemented");
112 reader.read(connection_sn);
113 reader.read(originator_vendor_id);
114 reader.read(originator_sn);
115 reader.read(data_length);
119 shared_ptr<SerializableBuffer> sb = make_shared<SerializableBuffer> ();
120 sb->deserialize(reader, data_length*2);
137 #endif // ODVA_ETHERNETIP_FORWARD_CLOSE_SUCCESS_H virtual Reader & deserialize(Reader &reader)
virtual size_t getLength() const
virtual Writer & serialize(Writer &writer) const
virtual Reader & deserialize(Reader &reader, size_t length)
shared_ptr< Serializable > response_data_
EIP_UINT originator_vendor_id
shared_ptr< Serializable > getResponseData() const