#include <identity_item_data.h>
Public Member Functions | |
virtual Reader & | deserialize (Reader &reader) |
virtual Reader & | deserialize (Reader &reader, size_t length) |
virtual size_t | getLength () const |
virtual Writer & | serialize (Writer &writer) const |
Public Attributes | |
EIP_UINT | device_type |
EIP_UINT | encap_protocol_version |
EIP_UINT | product_code |
string | product_name |
EIP_USINT | revision [2] |
EIP_UDINT | serial_number |
sockaddr_in | sockaddr |
EIP_USINT | state |
EIP_WORD | status |
EIP_UINT | vendor_id |
Data structure and operators for CIP Identity Item data.
Definition at line 46 of file identity_item_data.h.
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 |
Implements eip::serialization::Serializable.
Definition at line 64 of file identity_item_data.cpp.
Extra length information is not relevant in this context. Same as deserialize(reader)
Implements eip::serialization::Serializable.
Definition at line 77 of file identity_item_data.h.
|
virtual |
Get the length of serialized data that would be produced if serialized
Implements eip::serialization::Serializable.
Definition at line 30 of file identity_item_data.cpp.
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 |
Implements eip::serialization::Serializable.
Definition at line 46 of file identity_item_data.cpp.
EIP_UINT eip::IdentityItemData::device_type |
Definition at line 52 of file identity_item_data.h.
EIP_UINT eip::IdentityItemData::encap_protocol_version |
Definition at line 49 of file identity_item_data.h.
EIP_UINT eip::IdentityItemData::product_code |
Definition at line 53 of file identity_item_data.h.
string eip::IdentityItemData::product_name |
Definition at line 57 of file identity_item_data.h.
EIP_USINT eip::IdentityItemData::revision[2] |
Definition at line 54 of file identity_item_data.h.
EIP_UDINT eip::IdentityItemData::serial_number |
Definition at line 56 of file identity_item_data.h.
sockaddr_in eip::IdentityItemData::sockaddr |
Definition at line 50 of file identity_item_data.h.
EIP_USINT eip::IdentityItemData::state |
Definition at line 58 of file identity_item_data.h.
EIP_WORD eip::IdentityItemData::status |
Definition at line 55 of file identity_item_data.h.
EIP_UINT eip::IdentityItemData::vendor_id |
Definition at line 51 of file identity_item_data.h.