26 #ifndef ODVA_ETHERNETIP_MESSAGE_ROUTER_RESPONSE_H 27 #define ODVA_ETHERNETIP_MESSAGE_ROUTER_RESPONSE_H 30 #include <boost/shared_ptr.hpp> 37 using boost::shared_ptr;
41 using serialization::Serializable;
42 using serialization::Reader;
43 using serialization::Writer;
92 throw std::logic_error(
"Not implemented");
98 virtual Reader&
deserialize(Reader& reader,
size_t length);
105 throw std::logic_error(
"Must have size to deserialize");
120 shared_ptr<Serializable>
readData(Reader& reader,
int length);
125 #endif // ODVA_ETHERNETIP_MESSAGE_ROUTER_RESPONSE_H
shared_ptr< Serializable > readData(Reader &reader, int length)
virtual Reader & deserialize(Reader &reader)
virtual Reader & deserialize(Reader &reader, size_t length)
shared_ptr< Serializable > response_data_
shared_ptr< Serializable > additional_status_
shared_ptr< Serializable > getResponseData() const
virtual Writer & serialize(Writer &writer) const
virtual size_t getLength() const
shared_ptr< Serializable > getAdditionalStatus() const