Go to the documentation of this file.
26 #include <boost/shared_ptr.hpp>
27 #include <boost/make_shared.hpp>
28 #include <console_bridge/console.h>
34 using boost::shared_ptr;
35 using boost::make_shared;
60 throw std::logic_error(
"Not enough items in RR Data");
64 CONSOLE_BRIDGE_logWarn(
"More than 2 items in RR data response");
68 throw std::logic_error(
"Address other than null in RR Data");
70 if (pkt.
getItems().at(0).getDataLength() != 0)
72 throw std::logic_error(
"Data length greater than zero in null address type");
77 throw std::logic_error(
"Unexpected data type in RR Data");
virtual Writer & serialize(Writer &writer) const
vector< CPFItem > & getItems()
EIP_UDINT interface_handle
virtual Reader & deserialize(Reader &reader, size_t length)
virtual Writer & serialize(Writer &writer) const
virtual void setData(CPFItem &item)
virtual shared_ptr< Serializable > getData() const
EIP_UINT getItemCount() const
virtual Reader & deserialize(Reader &reader, size_t length)
@ EIP_ITEM_UNCONNECTED_MESSAGE
odva_ethernetip
Author(s): Kareem Shehata
autogenerated on Wed Mar 2 2022 00:38:56