#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.
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
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.
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
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.
Definition at line 53 of file measurement_report.h.
Definition at line 54 of file measurement_report.h.