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

#include <measurement_report_header.h>

Inheritance diagram for omron_os32c_driver::MeasurementReportHeader:
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

EIP_UINT active_zone_set
 
EIP_WORD detection_zone_status
 
EIP_UINT display_status
 
EIP_WORD input_status
 
EIP_UINT machine_state
 
EIP_UINT machine_stop_reasons
 
EIP_UINT non_safety_config_checksum
 
EIP_UINT num_beams
 
EIP_WORD output_status
 
EIP_UINT range_report_format
 
EIP_UINT refletivity_report_format
 
EIP_UINT safety_config_checksum
 
EIP_UDINT scan_beam_period
 
EIP_UDINT scan_count
 
EIP_UDINT scan_rate
 
EIP_UDINT scan_timestamp
 
EIP_WORD zone_inputs
 

Detailed Description

Data structure and operators for OS32C specific Measurement Report Header as defined in the OS32C-DM Ethernet/IP Addendum

Definition at line 47 of file measurement_report_header.h.

Member Function Documentation

virtual Reader& omron_os32c_driver::MeasurementReportHeader::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 115 of file measurement_report_header.h.

virtual Reader& omron_os32c_driver::MeasurementReportHeader::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 127 of file measurement_report_header.h.

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

From OS32C-DM Ethernet/IP addendum, header is always 56 bytes

Implements eip::serialization::Serializable.

Definition at line 71 of file measurement_report_header.h.

virtual Writer& omron_os32c_driver::MeasurementReportHeader::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 82 of file measurement_report_header.h.

Member Data Documentation

EIP_UINT omron_os32c_driver::MeasurementReportHeader::active_zone_set

Definition at line 56 of file measurement_report_header.h.

EIP_WORD omron_os32c_driver::MeasurementReportHeader::detection_zone_status

Definition at line 58 of file measurement_report_header.h.

EIP_UINT omron_os32c_driver::MeasurementReportHeader::display_status

Definition at line 61 of file measurement_report_header.h.

EIP_WORD omron_os32c_driver::MeasurementReportHeader::input_status

Definition at line 60 of file measurement_report_header.h.

EIP_UINT omron_os32c_driver::MeasurementReportHeader::machine_state

Definition at line 54 of file measurement_report_header.h.

EIP_UINT omron_os32c_driver::MeasurementReportHeader::machine_stop_reasons

Definition at line 55 of file measurement_report_header.h.

EIP_UINT omron_os32c_driver::MeasurementReportHeader::non_safety_config_checksum

Definition at line 62 of file measurement_report_header.h.

EIP_UINT omron_os32c_driver::MeasurementReportHeader::num_beams

Definition at line 66 of file measurement_report_header.h.

EIP_WORD omron_os32c_driver::MeasurementReportHeader::output_status

Definition at line 59 of file measurement_report_header.h.

EIP_UINT omron_os32c_driver::MeasurementReportHeader::range_report_format

Definition at line 64 of file measurement_report_header.h.

EIP_UINT omron_os32c_driver::MeasurementReportHeader::refletivity_report_format

Definition at line 65 of file measurement_report_header.h.

EIP_UINT omron_os32c_driver::MeasurementReportHeader::safety_config_checksum

Definition at line 63 of file measurement_report_header.h.

EIP_UDINT omron_os32c_driver::MeasurementReportHeader::scan_beam_period

Definition at line 53 of file measurement_report_header.h.

EIP_UDINT omron_os32c_driver::MeasurementReportHeader::scan_count

Definition at line 50 of file measurement_report_header.h.

EIP_UDINT omron_os32c_driver::MeasurementReportHeader::scan_rate

Definition at line 51 of file measurement_report_header.h.

EIP_UDINT omron_os32c_driver::MeasurementReportHeader::scan_timestamp

Definition at line 52 of file measurement_report_header.h.

EIP_WORD omron_os32c_driver::MeasurementReportHeader::zone_inputs

Definition at line 57 of file measurement_report_header.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