35 #ifndef SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSEMONITORINGCASEDATA_H 36 #define SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSEMONITORINGCASEDATA_H 48 namespace data_processing {
74 std::shared_ptr<sick::data_processing::ReadWriteHelper>
m_reader_ptr;
75 bool isValid(
const uint8_t*& data_ptr)
const;
77 uint16_t
readFieldIndex(
const uint8_t*& data_ptr,
const uint8_t index)
const;
78 bool readFieldValid(
const uint8_t*& 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.
uint16_t readMonitoringCaseNumber(const uint8_t *&data_ptr) const
A packetbuffer for the raw data from the sensor.
bool isValid(const uint8_t *&data_ptr) const
Parser to read monitoring case data.
uint16_t readFieldIndex(const uint8_t *&data_ptr, const uint8_t index) const
Stores the data for the different monitoring cases.
std::shared_ptr< sick::data_processing::ReadWriteHelper > m_reader_ptr
ParseMonitoringCaseData()
Constructor of the parser.
bool readFieldValid(const uint8_t *&data_ptr, const uint8_t index) const