26 #ifndef ODVA_ETHERNETIP_PATH_H 27 #define ODVA_ETHERNETIP_PATH_H 41 using serialization::Serializable;
42 using serialization::Reader;
43 using serialization::Writer;
59 Path(
bool pad_after_length =
false);
71 bool pad_after_length =
false);
151 virtual Writer&
serialize(Writer& writer,
bool pad_after_length)
const;
158 throw std::logic_error(
"Not implemented");
166 throw std::logic_error(
"Not implemented");
183 #endif // ODVA_ETHERNETIP_PATH_H
void addLogicalClass(EIP_USINT class_id)
virtual Reader & deserialize(Reader &reader, size_t length)
void addLogicalConnectionPoint(EIP_USINT connection_id)
virtual Writer & serialize(Writer &writer) const
Path(bool pad_after_length=false)
void addLogicalInstance(EIP_USINT instance_id)
void addSegment(EIP_USINT type, EIP_USINT data)
virtual size_t getLength() const
void addLogicalAttribute(EIP_USINT attribute_id)
void setPadAfterLength(bool pad)
virtual Reader & deserialize(Reader &reader)
vector< EIP_USINT > path_buf_