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

Parser to read the firmware version from a tcp sequence. More...

#include <ParseFirmwareVersion.h>

Public Member Functions

 ParseFirmwareVersion ()
 Constructor of the parser. More...
 
bool parseTCPSequence (const datastructure::PacketBuffer &buffer, datastructure::FirmwareVersion &firmware_version) const
 Parses a tcp sequence to read the firmware version of the sensor. More...
 
std::string readFirmwareVersion (std::vector< uint8_t >::const_iterator data_ptr) const
 

Detailed Description

Parser to read the firmware version from a tcp sequence.

Definition at line 54 of file ParseFirmwareVersion.h.

Constructor & Destructor Documentation

sick::data_processing::ParseFirmwareVersion::ParseFirmwareVersion ( )

Constructor of the parser.

Definition at line 42 of file ParseFirmwareVersion.cpp.

Member Function Documentation

bool sick::data_processing::ParseFirmwareVersion::parseTCPSequence ( const datastructure::PacketBuffer buffer,
datastructure::FirmwareVersion firmware_version 
) const

Parses a tcp sequence to read the firmware version of the sensor.

Parameters
bufferThe incoming data sequence.
firmware_versionReference to the parsed firmware version.
Returns
If parsing the firmware version was successful.

Definition at line 45 of file ParseFirmwareVersion.cpp.

std::string sick::data_processing::ParseFirmwareVersion::readFirmwareVersion ( std::vector< uint8_t >::const_iterator  data_ptr) const

Definition at line 57 of file ParseFirmwareVersion.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