ParseSerialNumber.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_PARSESERIALNUMBER_H
36 #define SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSESERIALNUMBER_H
37 
41 
43 
44 #include <string>
45 
46 namespace sick {
47 
48 namespace data_processing {
49 
50 
55 {
56 public:
61 
71  datastructure::SerialNumber& serial_number) const;
72 
73  std::string readSerialNumber(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_PARSESERIALNUMBER_H
A packetbuffer for the raw data from the sensor.
Definition: PacketBuffer.h:61
std::string readSerialNumber(std::vector< uint8_t >::const_iterator data_ptr) const
ParseSerialNumber()
Constructor of the parser.
Parser to read the serial number from a tcp sequence.
bool parseTCPSequence(const datastructure::PacketBuffer &buffer, datastructure::SerialNumber &serial_number) const
Parses a tcp sequence to read the serial number of the sensor.
Class containing the serial number of a laser scanner.
Definition: SerialNumber.h:47


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