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

Parser to read the type code of a tcp sequence. More...

#include <ParseConfigMetadata.h>

Public Member Functions

 ParseConfigMetadata ()
 Constructor of the parser. More...
 
bool parseTCPSequence (const datastructure::PacketBuffer &buffer, datastructure::ConfigMetadata &config_metadata) const
 Parses a tcp sequence to read the type code of the sensor. More...
 

Private Member Functions

uint32_t readAppChecksum (std::vector< uint8_t >::const_iterator data_ptr) const
 
std::vector< uint32_t > readIntegrityHash (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
 
uint16_t readModificationTimeDate (std::vector< uint8_t >::const_iterator data_ptr) const
 
uint32_t readModificationTimeTime (std::vector< uint8_t >::const_iterator data_ptr) const
 
uint32_t readOverallChecksum (std::vector< uint8_t >::const_iterator data_ptr) const
 
uint8_t readReleaseNumber (std::vector< uint8_t >::const_iterator data_ptr) const
 
uint16_t readTransferTimeDate (std::vector< uint8_t >::const_iterator data_ptr) const
 
uint32_t readTransferTimeTime (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 type code of a tcp sequence.

Definition at line 52 of file ParseConfigMetadata.h.

Constructor & Destructor Documentation

sick::data_processing::ParseConfigMetadata::ParseConfigMetadata ( )

Constructor of the parser.

Definition at line 42 of file ParseConfigMetadata.cpp.

Member Function Documentation

bool sick::data_processing::ParseConfigMetadata::parseTCPSequence ( const datastructure::PacketBuffer buffer,
datastructure::ConfigMetadata config_metadata 
) const

Parses a tcp sequence to read the type code of the sensor.

Parameters
bufferThe incoming tcp sequence.
config_metadataReference to the config metadata, which will be written while parsing.
Returns
If parsing was successful.

Definition at line 45 of file ParseConfigMetadata.cpp.

uint32_t sick::data_processing::ParseConfigMetadata::readAppChecksum ( std::vector< uint8_t >::const_iterator  data_ptr) const
private

Definition at line 113 of file ParseConfigMetadata.cpp.

std::vector< uint32_t > sick::data_processing::ParseConfigMetadata::readIntegrityHash ( std::vector< uint8_t >::const_iterator  data_ptr) const
private

Definition at line 125 of file ParseConfigMetadata.cpp.

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

Definition at line 74 of file ParseConfigMetadata.cpp.

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

Definition at line 79 of file ParseConfigMetadata.cpp.

uint16_t sick::data_processing::ParseConfigMetadata::readModificationTimeDate ( std::vector< uint8_t >::const_iterator  data_ptr) const
private

Definition at line 90 of file ParseConfigMetadata.cpp.

uint32_t sick::data_processing::ParseConfigMetadata::readModificationTimeTime ( std::vector< uint8_t >::const_iterator  data_ptr) const
private

Definition at line 96 of file ParseConfigMetadata.cpp.

uint32_t sick::data_processing::ParseConfigMetadata::readOverallChecksum ( std::vector< uint8_t >::const_iterator  data_ptr) const
private

Definition at line 119 of file ParseConfigMetadata.cpp.

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

Definition at line 84 of file ParseConfigMetadata.cpp.

uint16_t sick::data_processing::ParseConfigMetadata::readTransferTimeDate ( std::vector< uint8_t >::const_iterator  data_ptr) const
private

Definition at line 102 of file ParseConfigMetadata.cpp.

uint32_t sick::data_processing::ParseConfigMetadata::readTransferTimeTime ( std::vector< uint8_t >::const_iterator  data_ptr) const
private

Definition at line 108 of file ParseConfigMetadata.cpp.

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

Definition at line 67 of file ParseConfigMetadata.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