26 #ifndef ODVA_ETHERNETIP_SEQUENCED_ADDRESS_ITEM_H 27 #define ODVA_ETHERNETIP_SEQUENCED_ADDRESS_ITEM_H 39 using serialization::Serializable;
40 using serialization::Reader;
41 using serialization::Writer;
53 : connection_id(connection), sequence_num(sequence) { }
72 writer.write(connection_id);
73 writer.write(sequence_num);
93 reader.read(connection_id);
94 reader.read(sequence_num);
101 #endif // ODVA_ETHERNETIP_SEQUENCED_ADDRESS_ITEM_H virtual Reader & deserialize(Reader &reader)
virtual size_t getLength() const
SequencedAddressItem(EIP_UDINT connection=0, EIP_UDINT sequence=0)
virtual Writer & serialize(Writer &writer) const
virtual Reader & deserialize(Reader &reader, size_t length)