35 #ifndef SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSEMONITORINGCASEDATA_H 36 #define SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSEMONITORINGCASEDATA_H 48 namespace data_processing {
74 bool isValid(std::vector<uint8_t>::const_iterator data_ptr)
const;
76 uint16_t
readFieldIndex(std::vector<uint8_t>::const_iterator data_ptr,
77 const uint8_t& index)
const;
78 bool readFieldValid(std::vector<uint8_t>::const_iterator data_ptr,
const uint8_t& index)
const;
84 #endif // SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSEFIELDGEOMETRYDATA_H bool parseTCPSequence(const datastructure::PacketBuffer &buffer, datastructure::MonitoringCaseData &monitoring_case_data) const
Parses a tcp sequence and return the monitoring case data.
bool isValid(std::vector< uint8_t >::const_iterator data_ptr) const
A packetbuffer for the raw data from the sensor.
uint16_t readMonitoringCaseNumber(std::vector< uint8_t >::const_iterator data_ptr) const
Parser to read monitoring case data.
Stores the data for the different monitoring cases.
ParseMonitoringCaseData()
Constructor of the parser.
bool readFieldValid(std::vector< uint8_t >::const_iterator data_ptr, const uint8_t &index) const
uint16_t readFieldIndex(std::vector< uint8_t >::const_iterator data_ptr, const uint8_t &index) const