TypeCode.cpp
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 
36 
37 namespace sick {
38 namespace datastructure {
39 
41 
42 std::string TypeCode::getTypeCode() const
43 {
44  return m_type_code;
45 }
46 
47 void TypeCode::setTypeCode(const std::string& type_code)
48 {
49  m_type_code = type_code;
50 }
52 {
53  return m_interface_type;
54 }
55 
56 void TypeCode::setInterfaceType(const uint8_t& interface_type)
57 {
58  m_interface_type = interface_type;
59 }
60 
61 float TypeCode::getMaxRange() const
62 {
63  return m_max_range;
64 }
65 
66 void TypeCode::setMaxRange(const float& max_distance)
67 {
68  m_max_range = max_distance;
69 }
70 
71 
72 } // namespace datastructure
73 } // namespace sick
float getMaxRange() const
Gets the max range for the scanner.
Definition: TypeCode.cpp:61
TypeCode()
Constructor of the type code.
Definition: TypeCode.cpp:40
void setInterfaceType(const uint8_t &interface_type)
Sets the interface type for the scanner.
Definition: TypeCode.cpp:56
std::string getTypeCode() const
Gets the type code for the scanner.
Definition: TypeCode.cpp:42
uint8_t getInterfaceType() const
Gets the interface type for the scanner.
Definition: TypeCode.cpp:51
void setMaxRange(const float &max_distance)
Sets the max range for the scanner.
Definition: TypeCode.cpp:66
void setTypeCode(const std::string &type_code)
Sets the type code for the scanner.
Definition: TypeCode.cpp:47


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