Class UserName

Class Documentation

class UserName

Class containing the user name of a laser scanner.

Public Functions

UserName()

Constructor of the user name.

std::string getVersionCVersion() const

Gets the version indicator for the scanner.

Returns:

The version indicator for the scanner.

void setVersionCVersion(const std::string &version_c_version)

Sets the version indicator for the scanner.

Parameters:

version_c_version – The version indicator for the scanner.

uint8_t getVersionMajorVersionNumber() const

Gets the major version number for the scanner.

Returns:

The version indicator for the scanner.

void setVersionMajorVersionNumber(const uint8_t &version_major_version_number)

Sets the major version number for the scanner.

Parameters:

version_major_version_number – The major version number for the scanner.

uint8_t getVersionMinorVersionNumber() const

Gets the minor version number for the scanner.

Returns:

The minor version number for the scanner.

void setVersionMinorVersionNumber(const uint8_t &version_minor_version_number)

Sets the minor version number for the scanner.

Parameters:

version_minor_version_number – The minor version number for the scanner.

uint8_t getVersionReleaseNumber() const

Gets the version release number for the scanner.

Returns:

The version release number for the scanner.

void setVersionReleaseNumber(const uint8_t &version_release_number)

Sets the version release number for the scanner.

Parameters:

version_release_number – The version release number for the scanner.

uint32_t getNameLength() const

Gets the length of the user name.

Returns:

The length of the user name.

void setNameLength(const uint32_t &name_length)

Sets the length of the user name.

Parameters:

name_length – The length of the user name.

std::string getUserName() const

Gets the user name for the scanner.

Returns:

The user name for the scanner.

void setUserName(const std::string &user_name)

Sets the user name for the scanner.

Parameters:

user_name – The user name for the scanner.