Main Page
Namespaces
Classes
Files
File List
File Members
include
sick_safetyscanners
datastructure
DeviceStatus.h
Go to the documentation of this file.
1
// this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*-
2
3
// -- BEGIN LICENSE BLOCK ----------------------------------------------
4
24
// -- END LICENSE BLOCK ------------------------------------------------
25
26
//----------------------------------------------------------------------
33
//----------------------------------------------------------------------
34
35
#ifndef SICK_SAFETYSCANNERS_DATASTRUCTURE_DEVICESTATUS_H
36
#define SICK_SAFETYSCANNERS_DATASTRUCTURE_DEVICESTATUS_H
37
38
#include <iostream>
39
40
41
namespace
sick
{
42
namespace
datastructure {
43
47
class
DeviceStatus
48
{
49
public
:
50
enum
e_sopas_device_status
51
{
52
E_UNKNOWN
,
53
E_START_UP
,
54
E_SERVICE_MODE
,
55
E_NORMAL_OPERATION
,
56
E_SUSPENDED_OPERATION
,
57
E_SERVICE_RECOMMENDED
,
58
E_SERVICE_REQUIRED
,
59
E_RECOVERABLE_ERROR
,
60
E_FATAL_ERROR
61
};
65
DeviceStatus
();
66
72
uint8_t
getDeviceStatus
()
const
;
78
void
setDeviceStatus
(
const
uint8_t& device_status);
79
80
private
:
81
uint8_t
m_device_status
;
82
};
83
84
85
}
// namespace datastructure
86
}
// namespace sick
87
88
#endif // SICK_SAFETYSCANNERS_DATASTRUCTURE_DEVICESTATUS_H
sick::datastructure::DeviceStatus::E_FATAL_ERROR
Definition:
DeviceStatus.h:60
sick::datastructure::DeviceStatus::E_START_UP
Definition:
DeviceStatus.h:53
sick::datastructure::DeviceStatus::E_RECOVERABLE_ERROR
Definition:
DeviceStatus.h:59
sick::datastructure::DeviceStatus::E_NORMAL_OPERATION
Definition:
DeviceStatus.h:55
sick::datastructure::DeviceStatus::getDeviceStatus
uint8_t getDeviceStatus() const
Gets the device status for the scanner.
Definition:
DeviceStatus.cpp:42
sick::datastructure::DeviceStatus::E_SERVICE_MODE
Definition:
DeviceStatus.h:54
sick::datastructure::DeviceStatus::e_sopas_device_status
e_sopas_device_status
Definition:
DeviceStatus.h:50
sick::datastructure::DeviceStatus::setDeviceStatus
void setDeviceStatus(const uint8_t &device_status)
Sets the device status for the scanner.
Definition:
DeviceStatus.cpp:47
sick::datastructure::DeviceStatus::DeviceStatus
DeviceStatus()
Constructor of the device status.
Definition:
DeviceStatus.cpp:40
sick::datastructure::DeviceStatus::E_UNKNOWN
Definition:
DeviceStatus.h:52
sick::datastructure::DeviceStatus::E_SUSPENDED_OPERATION
Definition:
DeviceStatus.h:56
sick::datastructure::DeviceStatus
Class containing the device status of a laser scanner.
Definition:
DeviceStatus.h:47
sick
Definition:
ApplicationNameVariableCommand.h:43
sick::datastructure::DeviceStatus::E_SERVICE_RECOMMENDED
Definition:
DeviceStatus.h:57
sick::datastructure::DeviceStatus::E_SERVICE_REQUIRED
Definition:
DeviceStatus.h:58
sick::datastructure::DeviceStatus::m_device_status
uint8_t m_device_status
Definition:
DeviceStatus.h:81
sick_safetyscanners
Author(s): Lennart Puck
autogenerated on Fri Apr 2 2021 02:45:41