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

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

#include <ParseStatusOverview.h>

Public Member Functions

 ParseStatusOverviewData ()
 Constructor of the parser. More...
 
bool parseTCPSequence (const datastructure::PacketBuffer &buffer, datastructure::StatusOverview &status_overview) const
 Parses a tcp sequence to read the status overview of the sensor. More...
 

Private Member Functions

uint8_t readApplicationState (std::vector< uint8_t >::const_iterator data_ptr) const
 
uint8_t readConfigState (std::vector< uint8_t >::const_iterator data_ptr) const
 
uint16_t readCurrentDate (std::vector< uint8_t >::const_iterator data_ptr) const
 
uint32_t readCurrentTime (std::vector< uint8_t >::const_iterator data_ptr) const
 
uint8_t readDeviceState (std::vector< uint8_t >::const_iterator data_ptr) const
 
uint32_t readErrorInfoCode (std::vector< uint8_t >::const_iterator data_ptr) const
 
uint16_t readErrorInfoDate (std::vector< uint8_t >::const_iterator data_ptr) const
 
uint32_t readErrorInfoTime (std::vector< uint8_t >::const_iterator data_ptr) const
 
uint8_t readMajorNumber (std::vector< uint8_t >::const_iterator data_ptr) const
 
uint8_t readMinorNumber (std::vector< uint8_t >::const_iterator data_ptr) const
 
uint32_t readPowerOnCount (std::vector< uint8_t >::const_iterator data_ptr) const
 
uint8_t readReleaseNumber (std::vector< uint8_t >::const_iterator data_ptr) const
 
std::string readVersionIndicator (std::vector< uint8_t >::const_iterator data_ptr) const
 

Detailed Description

Parser to read the status overview of a tcp sequence.

Definition at line 52 of file ParseStatusOverview.h.

Constructor & Destructor Documentation

sick::data_processing::ParseStatusOverviewData::ParseStatusOverviewData ( )

Constructor of the parser.

Definition at line 42 of file ParseStatusOverview.cpp.

Member Function Documentation

bool sick::data_processing::ParseStatusOverviewData::parseTCPSequence ( const datastructure::PacketBuffer buffer,
datastructure::StatusOverview status_overview 
) const

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

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

Definition at line 45 of file ParseStatusOverview.cpp.

uint8_t sick::data_processing::ParseStatusOverviewData::readApplicationState ( std::vector< uint8_t >::const_iterator  data_ptr) const
private

Definition at line 107 of file ParseStatusOverview.cpp.

uint8_t sick::data_processing::ParseStatusOverviewData::readConfigState ( std::vector< uint8_t >::const_iterator  data_ptr) const
private

Definition at line 101 of file ParseStatusOverview.cpp.

uint16_t sick::data_processing::ParseStatusOverviewData::readCurrentDate ( std::vector< uint8_t >::const_iterator  data_ptr) const
private

Definition at line 125 of file ParseStatusOverview.cpp.

uint32_t sick::data_processing::ParseStatusOverviewData::readCurrentTime ( std::vector< uint8_t >::const_iterator  data_ptr) const
private

Definition at line 119 of file ParseStatusOverview.cpp.

uint8_t sick::data_processing::ParseStatusOverviewData::readDeviceState ( std::vector< uint8_t >::const_iterator  data_ptr) const
private

Definition at line 95 of file ParseStatusOverview.cpp.

uint32_t sick::data_processing::ParseStatusOverviewData::readErrorInfoCode ( std::vector< uint8_t >::const_iterator  data_ptr) const
private

Definition at line 131 of file ParseStatusOverview.cpp.

uint16_t sick::data_processing::ParseStatusOverviewData::readErrorInfoDate ( std::vector< uint8_t >::const_iterator  data_ptr) const
private

Definition at line 143 of file ParseStatusOverview.cpp.

uint32_t sick::data_processing::ParseStatusOverviewData::readErrorInfoTime ( std::vector< uint8_t >::const_iterator  data_ptr) const
private

Definition at line 137 of file ParseStatusOverview.cpp.

uint8_t sick::data_processing::ParseStatusOverviewData::readMajorNumber ( std::vector< uint8_t >::const_iterator  data_ptr) const
private

Definition at line 77 of file ParseStatusOverview.cpp.

uint8_t sick::data_processing::ParseStatusOverviewData::readMinorNumber ( std::vector< uint8_t >::const_iterator  data_ptr) const
private

Definition at line 83 of file ParseStatusOverview.cpp.

uint32_t sick::data_processing::ParseStatusOverviewData::readPowerOnCount ( std::vector< uint8_t >::const_iterator  data_ptr) const
private

Definition at line 113 of file ParseStatusOverview.cpp.

uint8_t sick::data_processing::ParseStatusOverviewData::readReleaseNumber ( std::vector< uint8_t >::const_iterator  data_ptr) const
private

Definition at line 89 of file ParseStatusOverview.cpp.

std::string sick::data_processing::ParseStatusOverviewData::readVersionIndicator ( std::vector< uint8_t >::const_iterator  data_ptr) const
private

Definition at line 69 of file ParseStatusOverview.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