Public Member Functions | Private Attributes | List of all members
sick::datastructure::TypeCode Class Reference

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
 

Detailed Description

Class containing the type code of a laser scanner.

Definition at line 62 of file TypeCode.h.

Constructor & Destructor Documentation

◆ TypeCode()

sick::datastructure::TypeCode::TypeCode ( )

Constructor of the type code.

Definition at line 40 of file TypeCode.cpp.

Member Function Documentation

◆ getInterfaceType()

uint8_t sick::datastructure::TypeCode::getInterfaceType ( ) const

Gets the interface type for the scanner.

Returns
The interface type for the scanner.

Definition at line 51 of file TypeCode.cpp.

◆ getMaxRange()

float sick::datastructure::TypeCode::getMaxRange ( ) const

Gets the max range for the scanner.

Returns
The max range for the scanner.

Definition at line 61 of file TypeCode.cpp.

◆ getTypeCode()

std::string sick::datastructure::TypeCode::getTypeCode ( ) const

Gets the type code for the scanner.

Returns
The type code for the scanner.

Definition at line 42 of file TypeCode.cpp.

◆ setInterfaceType()

void sick::datastructure::TypeCode::setInterfaceType ( const uint8_t &  interface_type)

Sets the interface type for the scanner.

Parameters
interface_typeThe interface type for the scanner.

Definition at line 56 of file TypeCode.cpp.

◆ setMaxRange()

void sick::datastructure::TypeCode::setMaxRange ( const float &  max_distance)

Sets the max range for the scanner.

Parameters
max_distanceThe max range for the scanner.

Definition at line 66 of file TypeCode.cpp.

◆ setTypeCode()

void sick::datastructure::TypeCode::setTypeCode ( const std::string &  type_code)

Sets the type code for the scanner.

Parameters
type_codeThe type code for the scanner.

Definition at line 47 of file TypeCode.cpp.

Member Data Documentation

◆ m_interface_type

uint8_t sick::datastructure::TypeCode::m_interface_type
private

Definition at line 110 of file TypeCode.h.

◆ m_max_range

float sick::datastructure::TypeCode::m_max_range
private

Definition at line 111 of file TypeCode.h.

◆ m_type_code

std::string sick::datastructure::TypeCode::m_type_code
private

Definition at line 109 of file TypeCode.h.


The documentation for this class was generated from the following files:


sick_safetyscanners
Author(s): Lennart Puck
autogenerated on Fri Jun 21 2024 02:40:52