26 #ifndef ODVA_ETHERNETIP_RR_DATA_REQUEST_H 27 #define ODVA_ETHERNETIP_RR_DATA_REQUEST_H 30 #include <boost/shared_ptr.hpp> 31 #include <boost/make_shared.hpp> 32 #include <boost/asio.hpp> 42 using boost::shared_ptr;
43 using boost::make_shared;
47 using serialization::Serializable;
48 using serialization::Reader;
49 using serialization::Writer;
63 mr_data_ = make_shared<MessageRouterRequest>(service_code);
71 mr_data_ = make_shared<MessageRouterRequest>(service_code);
81 mr_data_ = make_shared<MessageRouterRequest>(service_code);
136 virtual shared_ptr<Serializable>
getData()
const 146 throw std::logic_error(
"Not implemented");
155 #endif // ODVA_ETHERNETIP_RR_DATA_REQUEST_H
EIP_USINT getServiceCode() const
shared_ptr< Serializable > getMRData()
virtual shared_ptr< Serializable > getData() const
void setServiceCode(EIP_USINT service_code)
RRDataRequest(EIP_USINT service_code=0)
void setMRData(shared_ptr< Serializable > data)
RRDataRequest(EIP_USINT service_code, const Path &path, shared_ptr< Serializable > data)
virtual void setData(CPFItem &item)
RRDataRequest(EIP_USINT service_code, const Path &path)
shared_ptr< MessageRouterRequest > mr_data_