#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.
virtual Reader& omron_os32c_driver::RangeAndReflectanceMeasurement::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 83 of file range_and_reflectance_measurement.h.
virtual Reader& omron_os32c_driver::RangeAndReflectanceMeasurement::deserialize | ( | Reader & | reader | ) | [inline, virtual] |
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 95 of file range_and_reflectance_measurement.h.
virtual size_t omron_os32c_driver::RangeAndReflectanceMeasurement::getLength | ( | ) | const [inline, virtual] |
Size of this message including all measurement data.
Implements eip::serialization::Serializable.
Definition at line 60 of file range_and_reflectance_measurement.h.
virtual Writer& omron_os32c_driver::RangeAndReflectanceMeasurement::serialize | ( | Writer & | writer | ) | const [inline, virtual] |
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 72 of file range_and_reflectance_measurement.h.
Definition at line 53 of file range_and_reflectance_measurement.h.
Definition at line 54 of file range_and_reflectance_measurement.h.
Definition at line 55 of file range_and_reflectance_measurement.h.