Public Member Functions | Public Attributes | List of all members
eip::RegisterSessionData Class Reference

#include <register_session_data.h>

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

Public Member Functions

virtual Reader & deserialize (Reader &reader, size_t length)
 
virtual Reader & deserialize (Reader &reader)
 
virtual size_t getLength () const
 
 RegisterSessionData ()
 
virtual Writer & serialize (Writer &writer) const
 

Public Attributes

EIP_UINT options
 
EIP_UINT protocol_version
 

Detailed Description

Data structure for data portion of the session registration command and response

Definition at line 46 of file register_session_data.h.

Constructor & Destructor Documentation

eip::RegisterSessionData::RegisterSessionData ( )
inline

Definition at line 52 of file register_session_data.h.

Member Function Documentation

virtual Reader& eip::RegisterSessionData::deserialize ( Reader &  reader,
size_t  length 
)
inlinevirtual

Extra length information is not relevant in this context. Same as deserialize(reader)

Definition at line 79 of file register_session_data.h.

virtual Reader& eip::RegisterSessionData::deserialize ( Reader &  reader)
inlinevirtual

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 91 of file register_session_data.h.

virtual size_t eip::RegisterSessionData::getLength ( ) const
inlinevirtual

Get the length of serialized data that would be produced if serialized

Returns
Total length in bytes to be serialized

Definition at line 58 of file register_session_data.h.

virtual Writer& eip::RegisterSessionData::serialize ( Writer &  writer) const
inlinevirtual

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 69 of file register_session_data.h.

Member Data Documentation

EIP_UINT eip::RegisterSessionData::options

Definition at line 50 of file register_session_data.h.

EIP_UINT eip::RegisterSessionData::protocol_version

Definition at line 49 of file register_session_data.h.


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


odva_ethernetip
Author(s): Kareem Shehata
autogenerated on Mon Jun 10 2019 14:00:16