Go to the documentation of this file.
26 #ifndef ODVA_ETHERNETIP_MESSAGE_ROUTER_REQUEST_H
27 #define ODVA_ETHERNETIP_MESSAGE_ROUTER_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;
73 void setData(shared_ptr<Serializable> data)
96 result +=
data_->getLength();
112 data_->serialize(writer);
122 throw std::logic_error(
"Not implemented");
130 throw std::logic_error(
"Not implemented");
140 #endif // ODVA_ETHERNETIP_MESSAGE_ROUTER_REQUEST_H
void setData(shared_ptr< Serializable > data)
virtual Reader & deserialize(Reader &reader)
shared_ptr< Serializable > getData() const
virtual size_t getLength() const
virtual Writer & serialize(Writer &writer) const
MessageRouterRequest(EIP_USINT service_code=0)
virtual size_t getLength() const
shared_ptr< Serializable > data_
virtual Reader & deserialize(Reader &reader, size_t length)
virtual Writer & serialize(Writer &writer) const
odva_ethernetip
Author(s): Kareem Shehata
autogenerated on Wed Mar 2 2022 00:38:56