UserName.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_USERNAME_H
36 #define SICK_SAFETYSCANNERS_DATASTRUCTURE_USERNAME_H
37 
38 #include <iostream>
39 
40 
41 namespace sick {
42 namespace datastructure {
43 
47 class UserName
48 {
49 public:
53  UserName();
54 
60  std::string getVersionCVersion() const;
66  void setVersionCVersion(const std::string& version_c_version);
67 
73  uint8_t getVersionMajorVersionNumber() const;
79  void setVersionMajorVersionNumber(const uint8_t& version_major_version_number);
80 
86  uint8_t getVersionMinorVersionNumber() const;
92  void setVersionMinorVersionNumber(const uint8_t& version_minor_version_number);
93 
99  uint8_t getVersionReleaseNumber() const;
105  void setVersionReleaseNumber(const uint8_t& version_release_number);
111  uint32_t getNameLength() const;
117  void setNameLength(const uint32_t& name_length);
123  std::string getUserName() const;
129  void setUserName(const std::string& user_name);
130 
131 private:
132  std::string m_version_c_version;
136  uint32_t m_name_length;
137  std::string m_user_name;
138 };
139 
140 
141 } // namespace datastructure
142 } // namespace sick
143 
144 #endif // SICK_SAFETYSCANNERS_DATASTRUCTURE_USERNAME_H
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
Class containing the user name of a laser scanner.
Definition: UserName.h:47
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