UserName.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 
36 
37 namespace sick {
38 namespace datastructure {
39 
41 
42 std::string UserName::getVersionCVersion() const
43 {
44  return m_version_c_version;
45 }
46 
47 void UserName::setVersionCVersion(const std::string& version_c_version)
48 {
49  m_version_c_version = version_c_version;
50 }
51 
53 {
55 }
56 
57 void UserName::setVersionMajorVersionNumber(const uint8_t& version_major_version_number)
58 {
59  m_version_major_version_number = version_major_version_number;
60 }
61 
63 {
65 }
66 
67 void UserName::setVersionMinorVersionNumber(const uint8_t& version_minor_version_number)
68 {
69  m_version_minor_version_number = version_minor_version_number;
70 }
71 
73 {
75 }
76 
77 void UserName::setVersionReleaseNumber(const uint8_t& version_release_number)
78 {
79  m_version_release_number = version_release_number;
80 }
81 
82 uint32_t UserName::getNameLength() const
83 {
84  return m_name_length;
85 }
86 
87 void UserName::setNameLength(const uint32_t& name_length)
88 {
89  m_name_length = name_length;
90 }
91 
92 std::string UserName::getUserName() const
93 {
94  return m_user_name;
95 }
96 
97 void UserName::setUserName(const std::string& user_name)
98 {
99  m_user_name = user_name;
100 }
101 
102 
103 } // namespace datastructure
104 } // namespace sick
void setNameLength(const uint32_t &name_length)
Sets the length of the user name.
Definition: UserName.cpp:87
std::string getVersionCVersion() const
Gets the version indicator for the scanner.
Definition: UserName.cpp:42
uint32_t getNameLength() const
Gets the length of the user name.
Definition: UserName.cpp:82
std::string m_version_c_version
Definition: UserName.h:132
void setVersionCVersion(const std::string &version_c_version)
Sets the version indicator for the scanner.
Definition: UserName.cpp:47
uint8_t m_version_major_version_number
Definition: UserName.h:133
std::string getUserName() const
Gets the user name for the scanner.
Definition: UserName.cpp:92
void setVersionReleaseNumber(const uint8_t &version_release_number)
Sets the version release number for the scanner.
Definition: UserName.cpp:77
void setUserName(const std::string &user_name)
Sets the user name for the scanner.
Definition: UserName.cpp:97
UserName()
Constructor of the user name.
Definition: UserName.cpp:40
void setVersionMinorVersionNumber(const uint8_t &version_minor_version_number)
Sets the minor version number for the scanner.
Definition: UserName.cpp:67
void setVersionMajorVersionNumber(const uint8_t &version_major_version_number)
Sets the major version number for the scanner.
Definition: UserName.cpp:57
uint8_t getVersionReleaseNumber() const
Gets the version release number for the scanner.
Definition: UserName.cpp:72
uint8_t getVersionMajorVersionNumber() const
Gets the major version number for the scanner.
Definition: UserName.cpp:52
uint8_t getVersionMinorVersionNumber() const
Gets the minor version number for the scanner.
Definition: UserName.cpp:62
uint8_t m_version_minor_version_number
Definition: UserName.h:134


sick_safetyscanners
Author(s): Lennart Puck
autogenerated on Fri Apr 2 2021 02:45:41