#include <measurement_report.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 > | measurement_data |
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.
|
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.
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 92 of file measurement_report.h.
|
inlinevirtual |
Size of this message including all measurement data
Implements eip::serialization::Serializable.
Definition at line 59 of file measurement_report.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 70 of file measurement_report.h.
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.