#include <range_and_reflectance_measurement.h>
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 | |
MeasurementReportHeader | header |
vector< EIP_UINT > | range_data |
vector< EIP_UINT > | reflectance_data |
Data structure and operators for OS32C specific Measurement Report data as defined in the OS32C-DM Ethernet/IP Addendum that includes both range and reflectance data in the same message.
Definition at line 50 of file range_and_reflectance_measurement.h.
|
inlinevirtual |
Extra length information is not relevant in this context. Same as deserialize(reader)
Implements eip::serialization::Serializable.
Definition at line 82 of file range_and_reflectance_measurement.h.
|
inlinevirtual |
Deserialize data from the given reader without length information
reader | Reader to use for deserialization |
std::length_error | if the buffer is overrun while deserializing |
Implements eip::serialization::Serializable.
Definition at line 94 of file range_and_reflectance_measurement.h.
|
inlinevirtual |
Size of this message including all measurement data.
Implements eip::serialization::Serializable.
Definition at line 60 of file range_and_reflectance_measurement.h.
|
inlinevirtual |
Serialize data into the given buffer
writer | Writer to use for serialization |
std::length_error | if the buffer is too small for the header data |
Implements eip::serialization::Serializable.
Definition at line 71 of file range_and_reflectance_measurement.h.
MeasurementReportHeader omron_os32c_driver::RangeAndReflectanceMeasurement::header |
Definition at line 53 of file range_and_reflectance_measurement.h.
vector<EIP_UINT> omron_os32c_driver::RangeAndReflectanceMeasurement::range_data |
Definition at line 54 of file range_and_reflectance_measurement.h.
vector<EIP_UINT> omron_os32c_driver::RangeAndReflectanceMeasurement::reflectance_data |
Definition at line 55 of file range_and_reflectance_measurement.h.