Public Member Functions | Public Attributes
eip::IdentityItemData Class Reference

#include <identity_item_data.h>

Inheritance diagram for eip::IdentityItemData:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual Reader & deserialize (Reader &reader, size_t length)
virtual Reader & deserialize (Reader &reader)
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

Detailed Description

Data structure and operators for CIP Identity Item data.

Definition at line 46 of file identity_item_data.h.


Member Function Documentation

virtual Reader& eip::IdentityItemData::deserialize ( Reader &  reader,
size_t  length 
) [inline, virtual]

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:
readerReader to use for deserialization
Returns:
the reader again
Exceptions:
std::length_errorif 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:
writerWriter to use for serialization
Returns:
the writer again
Exceptions:
std::length_errorif the buffer is too small for the header data

Definition at line 46 of file identity_item_data.cpp.


Member Data Documentation

Definition at line 52 of file identity_item_data.h.

Definition at line 49 of file identity_item_data.h.

Definition at line 53 of file identity_item_data.h.

Definition at line 57 of file identity_item_data.h.

Definition at line 54 of file identity_item_data.h.

Definition at line 56 of file identity_item_data.h.

Definition at line 50 of file identity_item_data.h.

Definition at line 58 of file identity_item_data.h.

Definition at line 55 of file identity_item_data.h.

Definition at line 51 of file identity_item_data.h.


The documentation for this class was generated from the following files:


odva_ethernetip
Author(s): Kareem Shehata
autogenerated on Sat Jun 8 2019 20:21:23