ParseData.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_PARSEDATA_H
36 #define SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSEDATA_H
37 
40 
48 
49 
50 namespace sick {
51 namespace data_processing {
52 
56 class ParseData
57 {
58 public:
62  ParseData();
63 
73 
74 private:
75  std::shared_ptr<sick::data_processing::ParseDataHeader> m_data_header_parser_ptr;
76  std::shared_ptr<sick::data_processing::ParseDerivedValues> m_derived_values_parser_ptr;
77  std::shared_ptr<sick::data_processing::ParseMeasurementData> m_measurement_data_parser_ptr;
78  std::shared_ptr<sick::data_processing::ParseGeneralSystemState> m_general_system_state_parser_ptr;
79  std::shared_ptr<sick::data_processing::ParseIntrusionData> m_intrusion_data_parser_ptr;
80  std::shared_ptr<sick::data_processing::ParseApplicationData> m_application_data_parser_ptr;
81 
82 
84  datastructure::Data& data) const;
86  datastructure::Data& data) const;
88  datastructure::Data& data) const;
90  datastructure::Data& data) const;
92  datastructure::Data& data) const;
94  datastructure::Data& data) const;
96  datastructure::Data& data) const;
97 };
98 
99 } // namespace data_processing
100 } // namespace sick
101 
102 #endif // SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSEDATA_H
std::shared_ptr< sick::data_processing::ParseDataHeader > m_data_header_parser_ptr
Definition: ParseData.h:75
std::shared_ptr< sick::data_processing::ParseDerivedValues > m_derived_values_parser_ptr
Definition: ParseData.h:76
A packetbuffer for the raw data from the sensor.
Definition: PacketBuffer.h:61
void setMeasurementDataInData(const datastructure::PacketBuffer &buffer, datastructure::Data &data) const
Definition: ParseData.cpp:114
void setDerivedValuesInData(const datastructure::PacketBuffer &buffer, datastructure::Data &data) const
Definition: ParseData.cpp:106
void setDataBlocksInData(const datastructure::PacketBuffer &buffer, datastructure::Data &data) const
Definition: ParseData.cpp:59
The data class containing all data blocks of a measurement.
Definition: Data.h:55
sick::datastructure::Data parseUDPSequence(const sick::datastructure::PacketBuffer &buffer) const
Parses the udp data transferred in the packet buffer. It will be parsed into the data reference...
Definition: ParseData.cpp:52
void setDataHeaderInData(const datastructure::PacketBuffer &buffer, datastructure::Data &data) const
Definition: ParseData.cpp:98
void setGeneralSystemStateInData(const datastructure::PacketBuffer &buffer, datastructure::Data &data) const
Definition: ParseData.cpp:123
Parses the udp data packets depending on which data will be received.
Definition: ParseData.h:56
std::shared_ptr< sick::data_processing::ParseApplicationData > m_application_data_parser_ptr
Definition: ParseData.h:80
ParseData()
Constructor of the parser.
Definition: ParseData.cpp:40
std::shared_ptr< sick::data_processing::ParseGeneralSystemState > m_general_system_state_parser_ptr
Definition: ParseData.h:78
void setApplicationDataInData(const datastructure::PacketBuffer &buffer, datastructure::Data &data) const
Definition: ParseData.cpp:140
std::shared_ptr< sick::data_processing::ParseMeasurementData > m_measurement_data_parser_ptr
Definition: ParseData.h:77
std::shared_ptr< sick::data_processing::ParseIntrusionData > m_intrusion_data_parser_ptr
Definition: ParseData.h:79
void setIntrusionDataInData(const datastructure::PacketBuffer &buffer, datastructure::Data &data) const
Definition: ParseData.cpp:132


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