Public Member Functions | Private Member Functions | Private Attributes
sick::data_processing::ParseMonitoringCaseData Class Reference

Parser to read monitoring case data. More...

#include <ParseMonitoringCaseData.h>

List of all members.

Public Member Functions

 ParseMonitoringCaseData ()
 Constructor of the parser.
bool parseTCPSequence (const datastructure::PacketBuffer &buffer, datastructure::MonitoringCaseData &monitoring_case_data) const
 Parses a tcp sequence and return the monitoring case data.

Private Member Functions

bool isValid (const uint8_t *&data_ptr) const
uint16_t readFieldIndex (const uint8_t *&data_ptr, const uint8_t index) const
bool readFieldValid (const uint8_t *&data_ptr, const uint8_t index) const
uint16_t readMonitoringCaseNumber (const uint8_t *&data_ptr) const

Private Attributes

std::shared_ptr
< sick::data_processing::ReadWriteHelper
m_reader_ptr

Detailed Description

Parser to read monitoring case data.

Definition at line 54 of file ParseMonitoringCaseData.h.


Constructor & Destructor Documentation

Constructor of the parser.

Definition at line 42 of file ParseMonitoringCaseData.cpp.


Member Function Documentation

bool sick::data_processing::ParseMonitoringCaseData::isValid ( const uint8_t *&  data_ptr) const [private]

Definition at line 72 of file ParseMonitoringCaseData.cpp.

Parses a tcp sequence and return the monitoring case data.

Parameters:
bufferThe incoming tcp sequence.
monitoring_case_dataReference to the monitoring case data.
Returns:
If parsing the sequence was successful.

Definition at line 48 of file ParseMonitoringCaseData.cpp.

uint16_t sick::data_processing::ParseMonitoringCaseData::readFieldIndex ( const uint8_t *&  data_ptr,
const uint8_t  index 
) const [private]

Definition at line 88 of file ParseMonitoringCaseData.cpp.

bool sick::data_processing::ParseMonitoringCaseData::readFieldValid ( const uint8_t *&  data_ptr,
const uint8_t  index 
) const [private]

Definition at line 94 of file ParseMonitoringCaseData.cpp.

uint16_t sick::data_processing::ParseMonitoringCaseData::readMonitoringCaseNumber ( const uint8_t *&  data_ptr) const [private]

Definition at line 83 of file ParseMonitoringCaseData.cpp.


Member Data Documentation

Definition at line 74 of file ParseMonitoringCaseData.h.


The documentation for this class was generated from the following files:


sick_safetyscanners
Author(s): Lennart Puck
autogenerated on Tue May 7 2019 03:27:37