ParseFieldGeometryData.h
Go to the documentation of this file.
1 // this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*-
2 
3 // -- BEGIN LICENSE BLOCK ----------------------------------------------
4 
24 // -- END LICENSE BLOCK ------------------------------------------------
25 
26 //----------------------------------------------------------------------
33 //----------------------------------------------------------------------
34 
35 #ifndef SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSEFIELDGEOMETRYDATA_H
36 #define SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSEFIELDGEOMETRYDATA_H
37 
41 
43 
44 #include <vector>
45 
46 namespace sick {
47 
48 namespace data_processing {
49 
50 
55 {
56 public:
61 
72  datastructure::FieldData& field_data) const;
73 
74 private:
75  uint32_t readArrayLength(std::vector<uint8_t>::const_iterator data_ptr) const;
76  uint16_t readArrayElement(std::vector<uint8_t>::const_iterator data_ptr,
77  uint32_t elem_number) const;
78 };
79 
80 } // namespace data_processing
81 } // namespace sick
82 
83 #endif // SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSEFIELDGEOMETRYDATA_H
A packetbuffer for the raw data from the sensor.
Definition: PacketBuffer.h:61
bool parseTCPSequence(const datastructure::PacketBuffer &buffer, datastructure::FieldData &field_data) const
Parses a tcp sequence and return the field geometry data of the warning and protective fields...
Parser to read field geometry data.
uint32_t readArrayLength(std::vector< uint8_t >::const_iterator data_ptr) const
Field data for warning and protective fields.
Definition: FieldData.h:48
uint16_t readArrayElement(std::vector< uint8_t >::const_iterator data_ptr, uint32_t elem_number) const


sick_safetyscanners
Author(s): Lennart Puck
autogenerated on Fri Apr 2 2021 02:45:41