include
sick_safetyscanners
data_processing
ParseFirmwareVersion.h
Go to the documentation of this file.
1
// this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*-
2
3
// -- BEGIN LICENSE BLOCK ----------------------------------------------
4
24
// -- END LICENSE BLOCK ------------------------------------------------
25
26
//----------------------------------------------------------------------
33
//----------------------------------------------------------------------
34
35
#ifndef SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSEFIRMWAREVERSION_H
36
#define SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSEFIRMWAREVERSION_H
37
38
#include <
sick_safetyscanners/datastructure/Data.h
>
39
#include <
sick_safetyscanners/datastructure/FirmwareVersion.h
>
40
#include <
sick_safetyscanners/datastructure/PacketBuffer.h
>
41
42
#include <
sick_safetyscanners/data_processing/ReadWriteHelper.hpp
>
43
44
#include <string>
45
46
namespace
sick
{
47
48
namespace
data_processing {
49
50
54
class
ParseFirmwareVersion
55
{
56
public
:
60
ParseFirmwareVersion
();
61
70
bool
parseTCPSequence
(
const
datastructure::PacketBuffer
& buffer,
71
datastructure::FirmwareVersion
& firmware_version)
const
;
72
73
std::string
readFirmwareVersion
(std::vector<uint8_t>::const_iterator data_ptr)
const
;
74
};
75
76
}
// namespace data_processing
77
}
// namespace sick
78
79
#endif // SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSEFIRMWAREVERSION_H
sick
Definition:
ApplicationNameVariableCommand.h:43
ReadWriteHelper.hpp
sick::data_processing::ParseFirmwareVersion::readFirmwareVersion
std::string readFirmwareVersion(std::vector< uint8_t >::const_iterator data_ptr) const
Definition:
ParseFirmwareVersion.cpp:57
PacketBuffer.h
sick::data_processing::ParseFirmwareVersion
Parser to read the firmware version from a tcp sequence.
Definition:
ParseFirmwareVersion.h:54
sick::data_processing::ParseFirmwareVersion::parseTCPSequence
bool parseTCPSequence(const datastructure::PacketBuffer &buffer, datastructure::FirmwareVersion &firmware_version) const
Parses a tcp sequence to read the firmware version of the sensor.
Definition:
ParseFirmwareVersion.cpp:45
sick::datastructure::PacketBuffer
A packetbuffer for the raw data from the sensor.
Definition:
PacketBuffer.h:61
Data.h
FirmwareVersion.h
sick::datastructure::FirmwareVersion
Class containing the firmware version of a laser scanner.
Definition:
FirmwareVersion.h:47
sick::data_processing::ParseFirmwareVersion::ParseFirmwareVersion
ParseFirmwareVersion()
Constructor of the parser.
Definition:
ParseFirmwareVersion.cpp:42
sick_safetyscanners
Author(s): Lennart Puck
autogenerated on Fri Jun 21 2024 02:40:51