#include <rr_data.h>
Public Member Functions | |
virtual Reader & | deserialize (Reader &reader, size_t length) |
virtual Reader & | deserialize (Reader &reader) |
virtual size_t | getLength () const |
RRData () | |
virtual Writer & | serialize (Writer &writer) const |
Public Attributes | |
EIP_UDINT | interface_handle |
EIP_UINT | timeout |
Protected Member Functions | |
virtual shared_ptr< Serializable > | getData () const |
virtual void | setData (CPFItem &item) |
Class to encapsulate an RR Data request or reply. Note that this is intended to be used within the payload of a EncapPacket.
|
inline |
|
inlinevirtual |
|
virtual |
Deserialize data from the given reader without length information
reader | Reader to use for deserialization |
std::length_error | if the buffer is overrun while deserializing |
Definition at line 49 of file rr_data.cpp.
|
inlineprotectedvirtual |
Serialize data for the specific implementation. Default is null
Reimplemented in eip::RRDataRequest, and eip::RRDataResponse.
|
inlinevirtual |
|
virtual |
Serialize data into the given buffer
writer | Writer to use for serialization |
std::length_error | if the buffer is too small for the header data |
Definition at line 38 of file rr_data.cpp.
|
inlineprotectedvirtual |
Deserialize the data for this specific implementation
item | the CPF item that was deserialized, copy data from that |
Reimplemented in eip::RRDataRequest, and eip::RRDataResponse.