Class DeviceStatus

Class Documentation

class DeviceStatus

Class containing the device status of a laser scanner.

Public Types

enum e_sopas_device_status

Values:

enumerator E_UNKNOWN
enumerator E_START_UP
enumerator E_SERVICE_MODE
enumerator E_NORMAL_OPERATION
enumerator E_SUSPENDED_OPERATION
enumerator E_SERVICE_RECOMMENDED
enumerator E_SERVICE_REQUIRED
enumerator E_RECOVERABLE_ERROR
enumerator E_FATAL_ERROR

Public Functions

DeviceStatus()

Constructor of the device status.

uint8_t getDeviceStatus() const

Gets the device status for the scanner.

Returns

The device status for the scanner.

void setDeviceStatus(const uint8_t &device_status)

Sets the device status for the scanner.

Parameters

device_status – The device status for the scanner.