src
datastructure
DeviceName.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/DeviceName.h
>
36
37
namespace
sick
{
38
namespace
datastructure {
39
40
DeviceName::DeviceName
() {}
41
42
std::string
DeviceName::getDeviceName
()
const
43
{
44
return
m_device_name
;
45
}
46
47
void
DeviceName::setDeviceName
(
const
std::string& device_name)
48
{
49
m_device_name
= device_name;
50
}
51
52
53
}
// namespace datastructure
54
}
// namespace sick
DeviceName.h
sick
Definition:
ApplicationNameVariableCommand.h:43
sick::datastructure::DeviceName::DeviceName
DeviceName()
Constructor of the device name.
Definition:
DeviceName.cpp:40
sick::datastructure::DeviceName::m_device_name
std::string m_device_name
Definition:
DeviceName.h:69
sick::datastructure::DeviceName::setDeviceName
void setDeviceName(const std::string &device_name)
Sets the device name for the scanner.
Definition:
DeviceName.cpp:47
sick::datastructure::DeviceName::getDeviceName
std::string getDeviceName() const
Gets the device name for the scanner.
Definition:
DeviceName.cpp:42
sick_safetyscanners
Author(s): Lennart Puck
autogenerated on Fri Jun 21 2024 02:40:51