26 #ifndef ODVA_ETHERNETIP_RR_DATA_H 27 #define ODVA_ETHERNETIP_RR_DATA_H 30 #include <boost/shared_ptr.hpp> 31 #include <boost/asio.hpp> 39 using boost::shared_ptr;
43 using serialization::Serializable;
44 using serialization::Reader;
45 using serialization::Writer;
61 RRData() : interface_handle(0), timeout(0) { }
72 result +=
getData()->getLength();
83 virtual Writer&
serialize(Writer& writer)
const;
107 virtual shared_ptr<Serializable>
getData()
const 109 return shared_ptr<Serializable>();
121 #endif // ODVA_ETHERNETIP_RR_DATA_H virtual Reader & deserialize(Reader &reader, size_t length)
virtual void setData(CPFItem &item)
virtual Writer & serialize(Writer &writer) const
virtual shared_ptr< Serializable > getData() const
EIP_UDINT interface_handle
virtual size_t getLength() const