ParseTypeCodeData.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_PARSETYPECODEDATA_H
36 #define SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSETYPECODEDATA_H
37 
41 
43 
44 namespace sick {
45 
46 namespace data_processing {
47 
48 
53 {
54 public:
59 
69  datastructure::TypeCode& type_code) const;
70 
71 private:
72  std::string readTypeCode(std::vector<uint8_t>::const_iterator data_ptr) const;
73  uint8_t readInterfaceType(std::vector<uint8_t>::const_iterator data_ptr) const;
74  float readMaxRange(std::vector<uint8_t>::const_iterator data_ptr) const;
75 };
76 
77 } // namespace data_processing
78 } // namespace sick
79 
80 #endif // SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSETYPECODEDATA_H
float readMaxRange(std::vector< uint8_t >::const_iterator data_ptr) const
bool parseTCPSequence(const datastructure::PacketBuffer &buffer, datastructure::TypeCode &type_code) const
Parses a tcp sequence to read the type code of the sensor.
A packetbuffer for the raw data from the sensor.
Definition: PacketBuffer.h:61
Parser to read the type code of a tcp sequence.
std::string readTypeCode(std::vector< uint8_t >::const_iterator data_ptr) const
ParseTypeCodeData()
Constructor of the parser.
uint8_t readInterfaceType(std::vector< uint8_t >::const_iterator data_ptr) const
Class containing the type code of a laser scanner.
Definition: TypeCode.h:62


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