35 #ifndef SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSEINTRUSIONDATA_H 36 #define SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSEINTRUSIONDATA_H 47 namespace data_processing {
76 std::shared_ptr<sick::data_processing::ReadWriteHelper>
m_reader_ptr;
80 const uint8_t*& data_ptr,
81 std::vector<sick::datastructure::IntrusionDatum>& intrusion_datums)
const;
83 const uint8_t*& data_ptr,
86 const uint8_t*& data_ptr,
96 #endif // SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSEINTRUSIONDATA_H bool checkIfIntrusionDataIsPublished(const datastructure::Data &data) const
uint16_t m_num_scan_points
datastructure::IntrusionData parseUDPSequence(const datastructure::PacketBuffer &buffer, datastructure::Data &data)
Parse a udp sequence to read the intrusion data if enabled.
uint16_t getNumScanPoints() const
Parser to read the intrusion data from a udp sequence.
A packetbuffer for the raw data from the sensor.
uint16_t setSizeInIntrusionDatum(const uint16_t offset, const uint8_t *&data_ptr, sick::datastructure::IntrusionDatum &datum) const
Class containing a single IntrusionDatum.
std::shared_ptr< sick::data_processing::ReadWriteHelper > m_reader_ptr
uint16_t setFlagsInIntrusionDatum(const uint16_t offset, const uint8_t *&data_ptr, sick::datastructure::IntrusionDatum &datum) const
The data class containing all data blocks of a measurement.
Class containing all IntrusionDatums.
void setNumScanPoints(const uint16_t num_scan_points)
bool checkIfPreconditionsAreMet(const datastructure::Data &data) const
bool checkIfDataContainsNeededParsedBlocks(const datastructure::Data &data) const
void setDataInIntrusionData(const uint8_t *&data_ptr, datastructure::IntrusionData &intrusion_data) const
ParseIntrusionData()
Constructor of the parser.
void setDataInIntrusionDatums(const uint8_t *&data_ptr, std::vector< sick::datastructure::IntrusionDatum > &intrusion_datums) const