Public Member Functions | Public Attributes | List of all members
omron_os32c_driver::MeasurementReport Class Reference

#include <measurement_report.h>

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

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 
)
inlinevirtual

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)
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

Implements eip::serialization::Serializable.

Definition at line 92 of file measurement_report.h.

virtual size_t omron_os32c_driver::MeasurementReport::getLength ( ) const
inlinevirtual

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
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

Implements eip::serialization::Serializable.

Definition at line 70 of file measurement_report.h.

Member Data Documentation

MeasurementReportHeader omron_os32c_driver::MeasurementReport::header

Definition at line 53 of file measurement_report.h.

vector<EIP_UINT> omron_os32c_driver::MeasurementReport::measurement_data

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 Fri Nov 27 2020 03:06:12