Public Member Functions | Private Member Functions | List of all members
sick::data_processing::ParseDeviceStatusData Class Reference

Parser to read the device status of a tcp sequence. More...

#include <ParseDeviceStatus.h>

Public Member Functions

 ParseDeviceStatusData ()
 Constructor of the parser. More...
 
bool parseTCPSequence (const datastructure::PacketBuffer &buffer, datastructure::DeviceStatus &device_status) const
 Parses a tcp sequence to read the device status of the sensor. More...
 

Private Member Functions

uint8_t readDeviceStatus (std::vector< uint8_t >::const_iterator data_ptr) const
 

Detailed Description

Parser to read the device status of a tcp sequence.

Definition at line 52 of file ParseDeviceStatus.h.

Constructor & Destructor Documentation

sick::data_processing::ParseDeviceStatusData::ParseDeviceStatusData ( )

Constructor of the parser.

Definition at line 42 of file ParseDeviceStatus.cpp.

Member Function Documentation

bool sick::data_processing::ParseDeviceStatusData::parseTCPSequence ( const datastructure::PacketBuffer buffer,
datastructure::DeviceStatus device_status 
) const

Parses a tcp sequence to read the device status of the sensor.

Parameters
bufferThe incoming tcp sequence.
device_statusReference to the device status, which will be written while parsing.
Returns
If parsing was successful.

Definition at line 45 of file ParseDeviceStatus.cpp.

uint8_t sick::data_processing::ParseDeviceStatusData::readDeviceStatus ( std::vector< uint8_t >::const_iterator  data_ptr) const
private

Definition at line 55 of file ParseDeviceStatus.cpp.


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


sick_safetyscanners
Author(s): Lennart Puck
autogenerated on Fri Apr 2 2021 02:45:42