ApplicationName.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_APPLICATIONNAME_H
36 #define SICK_SAFETYSCANNERS_DATASTRUCTURE_APPLICATIONNAME_H
37 
38 #include <iostream>
39 
40 
41 namespace sick {
42 namespace datastructure {
43 
48 {
49 public:
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 getApplicationName() const;
129  void setApplicationName(const std::string& application_name);
130 
131 private:
132  std::string m_version_c_version;
136  uint32_t m_name_length;
137  std::string m_application_name;
138 };
139 
140 
141 } // namespace datastructure
142 } // namespace sick
143 
144 #endif // SICK_SAFETYSCANNERS_DATASTRUCTURE_APPLICATIONNAME_H
sick::datastructure::ApplicationName::m_version_c_version
std::string m_version_c_version
Definition: ApplicationName.h:132
sick::datastructure::ApplicationName::m_version_major_version_number
uint8_t m_version_major_version_number
Definition: ApplicationName.h:133
sick::datastructure::ApplicationName::getVersionMinorVersionNumber
uint8_t getVersionMinorVersionNumber() const
Gets the minor version number for the scanner.
Definition: ApplicationName.cpp:62
sick
Definition: ApplicationNameVariableCommand.h:43
sick::datastructure::ApplicationName::getApplicationName
std::string getApplicationName() const
Gets the application name for the scanner.
Definition: ApplicationName.cpp:92
sick::datastructure::ApplicationName::setVersionMajorVersionNumber
void setVersionMajorVersionNumber(const uint8_t &version_major_version_number)
Sets the major version number for the scanner.
Definition: ApplicationName.cpp:57
sick::datastructure::ApplicationName::setApplicationName
void setApplicationName(const std::string &application_name)
Sets the application name for the scanner.
Definition: ApplicationName.cpp:97
sick::datastructure::ApplicationName::setVersionMinorVersionNumber
void setVersionMinorVersionNumber(const uint8_t &version_minor_version_number)
Sets the minor version number for the scanner.
Definition: ApplicationName.cpp:67
sick::datastructure::ApplicationName::ApplicationName
ApplicationName()
Constructor of the application name.
Definition: ApplicationName.cpp:40
sick::datastructure::ApplicationName::getNameLength
uint32_t getNameLength() const
Gets the length of the application name.
Definition: ApplicationName.cpp:82
sick::datastructure::ApplicationName::m_name_length
uint32_t m_name_length
Definition: ApplicationName.h:136
sick::datastructure::ApplicationName
Class containing the application name of a laser scanner.
Definition: ApplicationName.h:47
sick::datastructure::ApplicationName::m_application_name
std::string m_application_name
Definition: ApplicationName.h:137
sick::datastructure::ApplicationName::getVersionReleaseNumber
uint8_t getVersionReleaseNumber() const
Gets the version release number for the scanner.
Definition: ApplicationName.cpp:72
sick::datastructure::ApplicationName::setVersionCVersion
void setVersionCVersion(const std::string &version_c_version)
Sets the version indicator for the scanner.
Definition: ApplicationName.cpp:47
sick::datastructure::ApplicationName::m_version_minor_version_number
uint8_t m_version_minor_version_number
Definition: ApplicationName.h:134
sick::datastructure::ApplicationName::getVersionCVersion
std::string getVersionCVersion() const
Gets the version indicator for the scanner.
Definition: ApplicationName.cpp:42
sick::datastructure::ApplicationName::getVersionMajorVersionNumber
uint8_t getVersionMajorVersionNumber() const
Gets the major version number for the scanner.
Definition: ApplicationName.cpp:52
sick::datastructure::ApplicationName::m_version_release_number
uint8_t m_version_release_number
Definition: ApplicationName.h:135
sick::datastructure::ApplicationName::setNameLength
void setNameLength(const uint32_t &name_length)
Sets the length of the application name.
Definition: ApplicationName.cpp:87
sick::datastructure::ApplicationName::setVersionReleaseNumber
void setVersionReleaseNumber(const uint8_t &version_release_number)
Sets the version release number for the scanner.
Definition: ApplicationName.cpp:77


sick_safetyscanners
Author(s): Lennart Puck
autogenerated on Fri Jun 21 2024 02:40:51