Class TypeCode

Class Documentation

class TypeCode

Class containing the type code of a laser scanner.

Public Functions

TypeCode()

Constructor of the type code.

std::string getTypeCode() const

Gets the type code for the scanner.

Returns

The type code for the scanner.

void setTypeCode(const std::string &type_code)

Sets the type code for the scanner.

Parameters

type_code – The type code for the scanner.

uint8_t getInterfaceType() const

Gets the interface type for the scanner.

Returns

The interface type for the scanner.

void setInterfaceType(const uint8_t &interface_type)

Sets the interface type for the scanner.

Parameters

interface_type – The interface type for the scanner.

float getMaxRange() const

Gets the max range for the scanner.

Returns

The max range for the scanner.

void setMaxRange(const float &max_distance)

Sets the max range for the scanner.

Parameters

max_distance – The max range for the scanner.