#include <identity_item_data.h>
Data structure and operators for CIP Identity Item data.
Definition at line 46 of file identity_item_data.h.
virtual Reader& eip::IdentityItemData::deserialize |
( |
Reader & |
reader, |
|
|
size_t |
length |
|
) |
| |
|
inlinevirtual |
Extra length information is not relevant in this context. Same as deserialize(reader)
Definition at line 77 of file identity_item_data.h.
Reader & eip::IdentityItemData::deserialize |
( |
Reader & |
reader | ) |
|
|
virtual |
Deserialize data from the given reader without length information
- Parameters
-
reader | Reader to use for deserialization |
- Returns
- the reader again
- Exceptions
-
std::length_error | if the buffer is overrun while deserializing |
Definition at line 64 of file identity_item_data.cpp.
size_t eip::IdentityItemData::getLength |
( |
| ) |
const |
|
virtual |
Get the length of serialized data that would be produced if serialized
- Returns
- Total length in bytes to be serialized
Definition at line 30 of file identity_item_data.cpp.
Writer & eip::IdentityItemData::serialize |
( |
Writer & |
writer | ) |
const |
|
virtual |
Serialize data into the given buffer
- Parameters
-
writer | Writer to use for serialization |
- Returns
- the writer again
- Exceptions
-
std::length_error | if the buffer is too small for the header data |
Definition at line 46 of file identity_item_data.cpp.
EIP_UINT eip::IdentityItemData::device_type |
EIP_UINT eip::IdentityItemData::encap_protocol_version |
EIP_UINT eip::IdentityItemData::product_code |
string eip::IdentityItemData::product_name |
EIP_UDINT eip::IdentityItemData::serial_number |
sockaddr_in eip::IdentityItemData::sockaddr |
EIP_UINT eip::IdentityItemData::vendor_id |
The documentation for this class was generated from the following files: