Main Page
Namespaces
Classes
Files
File List
File Members
src
datastructure
DeviceStatus.cpp
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
#include <
sick_safetyscanners/datastructure/DeviceStatus.h
>
36
37
namespace
sick
{
38
namespace
datastructure {
39
40
DeviceStatus::DeviceStatus
() {}
41
42
uint8_t
DeviceStatus::getDeviceStatus
()
const
43
{
44
return
m_device_status
;
45
}
46
47
void
DeviceStatus::setDeviceStatus
(
const
uint8_t& device_status)
48
{
49
m_device_status
= device_status;
50
}
51
52
53
}
// namespace datastructure
54
}
// namespace sick
DeviceStatus.h
sick::datastructure::DeviceStatus::getDeviceStatus
uint8_t getDeviceStatus() const
Gets the device status for the scanner.
Definition:
DeviceStatus.cpp:42
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
Definition:
ApplicationNameVariableCommand.h:43
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