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 
43 {
44  return m_interface_type;
45 }
46 
47 void TypeCode::setInterfaceType(uint8_t interface_type)
48 {
49  m_interface_type = interface_type;
50 }
51 
52 float TypeCode::getMaxRange() const
53 {
54  return m_max_range;
55 }
56 
57 void TypeCode::setMaxRange(float max_distance)
58 {
59  m_max_range = max_distance;
60 }
61 
62 
63 } // namespace datastructure
64 } // namespace sick
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
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