Class containing the type code of a laser scanner. More...
#include <TypeCode.h>
Public Member Functions | |
uint8_t | getInterfaceType () const |
Gets the interface type for the scanner. More... | |
float | getMaxRange () const |
Gets the max range for the scanner. More... | |
std::string | getTypeCode () const |
Gets the type code for the scanner. More... | |
void | setInterfaceType (const uint8_t &interface_type) |
Sets the interface type for the scanner. More... | |
void | setMaxRange (const float &max_distance) |
Sets the max range for the scanner. More... | |
void | setTypeCode (const std::string &type_code) |
Sets the type code for the scanner. More... | |
TypeCode () | |
Constructor of the type code. More... | |
Private Attributes | |
uint8_t | m_interface_type |
float | m_max_range |
std::string | m_type_code |
Class containing the type code of a laser scanner.
Definition at line 62 of file TypeCode.h.
sick::datastructure::TypeCode::TypeCode | ( | ) |
Constructor of the type code.
Definition at line 40 of file TypeCode.cpp.
uint8_t sick::datastructure::TypeCode::getInterfaceType | ( | ) | const |
Gets the interface type for the scanner.
Definition at line 51 of file TypeCode.cpp.
float sick::datastructure::TypeCode::getMaxRange | ( | ) | const |
Gets the max range for the scanner.
Definition at line 61 of file TypeCode.cpp.
std::string sick::datastructure::TypeCode::getTypeCode | ( | ) | const |
Gets the type code for the scanner.
Definition at line 42 of file TypeCode.cpp.
void sick::datastructure::TypeCode::setInterfaceType | ( | const uint8_t & | interface_type | ) |
Sets the interface type for the scanner.
interface_type | The interface type for the scanner. |
Definition at line 56 of file TypeCode.cpp.
void sick::datastructure::TypeCode::setMaxRange | ( | const float & | max_distance | ) |
Sets the max range for the scanner.
max_distance | The max range for the scanner. |
Definition at line 66 of file TypeCode.cpp.
void sick::datastructure::TypeCode::setTypeCode | ( | const std::string & | type_code | ) |
Sets the type code for the scanner.
type_code | The type code for the scanner. |
Definition at line 47 of file TypeCode.cpp.
|
private |
Definition at line 110 of file TypeCode.h.
|
private |
Definition at line 111 of file TypeCode.h.
|
private |
Definition at line 109 of file TypeCode.h.