TypeCode.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_DATASTRUCTURE_TYPECODE_H
36 #define SICK_SAFETYSCANNERS_DATASTRUCTURE_TYPECODE_H
37 
38 #include <iostream>
39 
40 
41 namespace sick {
42 namespace datastructure {
43 
45 {
50 };
51 
53 {
56 };
57 
58 
62 class TypeCode
63 {
64 public:
68  TypeCode();
74  uint8_t getInterfaceType() const;
80  void setInterfaceType(uint8_t interface_type);
81 
87  float getMaxRange() const;
93  void setMaxRange(float max_distance);
94 
95 private:
97  float m_max_range;
98 };
99 
100 
101 } // namespace datastructure
102 } // namespace sick
103 
104 #endif // SICK_SAFETYSCANNERS_DATASTRUCTURE_TYPECODE_H
float getMaxRange() const
Gets the max range for the scanner.
Definition: TypeCode.cpp:52
TypeCode()
Constructor of the type code.
Definition: TypeCode.cpp:40
uint8_t getInterfaceType() const
Gets the interface type for the scanner.
Definition: TypeCode.cpp:42
void setMaxRange(float max_distance)
Sets the max range for the scanner.
Definition: TypeCode.cpp:57
Class containing the type code of a laser scanner.
Definition: TypeCode.h:62
void setInterfaceType(uint8_t interface_type)
Sets the interface type for the scanner.
Definition: TypeCode.cpp:47


sick_safetyscanners
Author(s): Lennart Puck
autogenerated on Thu May 9 2019 02:41:08