35 #ifndef SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSEINTRUSIONDATA_H 36 #define SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSEINTRUSIONDATA_H 47 namespace data_processing {
79 std::vector<uint8_t>::const_iterator data_ptr,
80 std::vector<sick::datastructure::IntrusionDatum>& intrusion_datums)
const;
82 std::vector<uint8_t>::const_iterator data_ptr,
85 std::vector<uint8_t>::const_iterator data_ptr,
95 #endif // SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSEINTRUSIONDATA_H void setDataInIntrusionDatums(std::vector< uint8_t >::const_iterator data_ptr, std::vector< sick::datastructure::IntrusionDatum > &intrusion_datums) const
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.
void setDataInIntrusionData(std::vector< uint8_t >::const_iterator data_ptr, datastructure::IntrusionData &intrusion_data) const
Class containing a single IntrusionDatum.
uint16_t setSizeInIntrusionDatum(const uint16_t &offset, std::vector< uint8_t >::const_iterator data_ptr, sick::datastructure::IntrusionDatum &datum) const
The data class containing all data blocks of a measurement.
Class containing all IntrusionDatums.
bool checkIfPreconditionsAreMet(const datastructure::Data &data) const
bool checkIfDataContainsNeededParsedBlocks(const datastructure::Data &data) const
uint16_t setFlagsInIntrusionDatum(const uint16_t &offset, std::vector< uint8_t >::const_iterator data_ptr, sick::datastructure::IntrusionDatum &datum) const
ParseIntrusionData()
Constructor of the parser.
void setNumScanPoints(const uint16_t &num_scan_points)