Public Member Functions | Public Attributes
omron_os32c_driver::MeasurementReport Class Reference

#include <measurement_report.h>

Inheritance diagram for omron_os32c_driver::MeasurementReport:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual Readerdeserialize (Reader &reader, size_t length)
virtual Readerdeserialize (Reader &reader)
virtual size_t getLength () const
virtual Writerserialize (Writer &writer) const

Public Attributes

MeasurementReportHeader header
vector< EIP_UINTmeasurement_data

Detailed Description

Data structure and operators for OS32C specific Measurement Report data as defined in the OS32C-DM Ethernet/IP Addendum. Used for both range and reflectance data.

Definition at line 50 of file measurement_report.h.


Member Function Documentation

virtual Reader& omron_os32c_driver::MeasurementReport::deserialize ( Reader reader,
size_t  length 
) [inline, virtual]

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

Implements eip::serialization::Serializable.

Definition at line 80 of file measurement_report.h.

virtual Reader& omron_os32c_driver::MeasurementReport::deserialize ( Reader reader) [inline, 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

Implements eip::serialization::Serializable.

Definition at line 92 of file measurement_report.h.

virtual size_t omron_os32c_driver::MeasurementReport::getLength ( ) const [inline, virtual]

Size of this message including all measurement data

Implements eip::serialization::Serializable.

Definition at line 59 of file measurement_report.h.

virtual Writer& omron_os32c_driver::MeasurementReport::serialize ( Writer writer) const [inline, 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

Implements eip::serialization::Serializable.

Definition at line 70 of file measurement_report.h.


Member Data Documentation

Definition at line 53 of file measurement_report.h.

Definition at line 54 of file measurement_report.h.


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


omron_os32c_driver
Author(s): Kareem Shehata
autogenerated on Thu Jun 6 2019 19:00:54