StatusOverview.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 
43 {
44  return m_version_c_version;
45 }
46 
47 void StatusOverview::setVersionCVersion(const std::string& version_c_version)
48 {
49  m_version_c_version = version_c_version;
50 }
51 
53 {
55 }
56 
57 void StatusOverview::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 StatusOverview::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 StatusOverview::setVersionReleaseNumber(const uint8_t& version_release_number)
78 {
79  m_version_release_number = version_release_number;
80 }
81 
83 {
84  return m_device_state;
85 }
86 
87 void StatusOverview::setDeviceState(uint8_t device_state)
88 {
89  m_device_state = device_state;
90 }
91 
93 {
94  return m_config_state;
95 }
96 
97 void StatusOverview::setConfigState(uint8_t config_state)
98 {
99  m_config_state = config_state;
100 }
101 
103 {
104  return m_application_state;
105 }
106 
107 void StatusOverview::setApplicationState(uint8_t application_state)
108 {
109  m_application_state = application_state;
110 }
111 
113 {
115 }
116 
117 void StatusOverview::setCurrentTimePowerOnCount(uint32_t current_time_power_on_count)
118 {
119  m_current_time_power_on_count = current_time_power_on_count;
120 }
121 
123 {
124  return m_current_time_time;
125 }
126 
127 void StatusOverview::setCurrentTimeTime(uint32_t current_time_time)
128 {
129  m_current_time_time = current_time_time;
130 }
131 
133 {
134  return m_current_time_date;
135 }
136 
137 void StatusOverview::setCurrentTimeDate(uint16_t current_time_date)
138 {
139  m_current_time_date = current_time_date;
140 }
141 
143 {
144  return m_error_info_code;
145 }
146 
147 void StatusOverview::setErrorInfoCode(uint32_t error_info_code)
148 {
149  m_error_info_code = error_info_code;
150 }
151 
153 {
154  return m_error_info_time;
155 }
156 
157 void StatusOverview::setErrorInfoTime(uint32_t error_info_time)
158 {
159  m_error_info_time = error_info_time;
160 }
161 
163 {
164  return m_error_info_date;
165 }
166 
167 void StatusOverview::setErrorInfoDate(uint16_t error_info_date)
168 {
169  m_error_info_date = error_info_date;
170 }
171 
172 } // namespace datastructure
173 } // namespace sick
void setApplicationState(uint8_t application_state)
Sets the application state for the scanner.
void setErrorInfoDate(uint16_t error_info_date)
Sets the error info date for the scanner.
void setVersionMinorVersionNumber(const uint8_t &version_minor_version_number)
Sets the minor version number for the scanner.
void setErrorInfoCode(uint32_t error_info_code)
Sets the error info code for the scanner.
uint8_t getApplicationState() const
Gets the application state for the scanner.
void setCurrentTimeTime(uint32_t current_time_time)
Sets the current time time for the scanner.
uint16_t getErrorInfoDate() const
Gets the error info date for the scanner.
void setErrorInfoTime(uint32_t error_info_time)
Sets the error info time for the scanner.
uint32_t getCurrentTimePowerOnCount() const
Gets the current time power on count for the scanner.
uint8_t getVersionReleaseNumber() const
Gets the version release number for the scanner.
uint8_t getVersionMajorVersionNumber() const
Gets the major version number for the scanner.
uint16_t getCurrentTimeDate() const
Gets the current time date for the scanner.
void setVersionMajorVersionNumber(const uint8_t &version_major_version_number)
Sets the major version number for the scanner.
StatusOverview()
Constructor of the serial number.
uint8_t getConfigState() const
Gets the config state for the scanner.
void setCurrentTimeDate(uint16_t current_time_date)
Sets the current time date for the scanner.
void setConfigState(uint8_t config_state)
Sets the config state for the scanner.
uint8_t getDeviceState() const
Gets the device state for the scanner.
uint32_t getErrorInfoCode() const
Gets the error info code for the scanner.
uint32_t getErrorInfoTime() const
Gets the error info time for the scanner.
void setCurrentTimePowerOnCount(uint32_t current_time_power_on_count)
Sets the current time power on count for the scanner.
void setVersionReleaseNumber(const uint8_t &version_release_number)
Sets the version release number for the scanner.
void setVersionCVersion(const std::string &version_c_version)
Sets the version indicator for the scanner.
uint32_t getCurrentTimeTime() const
Gets the current time time for the scanner.
uint8_t getVersionMinorVersionNumber() const
Gets the minor version number for the scanner.
void setDeviceState(uint8_t device_state)
Sets the device state for the scanner.
std::string getVersionCVersion() const
Gets the version indicator for the scanner.


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