StatusOverview.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_STATUSOVERVIEW_H
36 #define SICK_SAFETYSCANNERS_DATASTRUCTURE_STATUSOVERVIEW_H
37 
38 #include <iostream>
39 
40 
41 namespace sick {
42 namespace datastructure {
43 
48 {
49 public:
51  {
57  };
58 
60  {
69  };
70 
72  {
79  };
80 
85 
91  std::string getVersionCVersion() const;
97  void setVersionCVersion(const std::string& version_c_version);
98 
104  uint8_t getVersionMajorVersionNumber() const;
110  void setVersionMajorVersionNumber(const uint8_t& version_major_version_number);
111 
117  uint8_t getVersionMinorVersionNumber() const;
123  void setVersionMinorVersionNumber(const uint8_t& version_minor_version_number);
124 
130  uint8_t getVersionReleaseNumber() const;
136  void setVersionReleaseNumber(const uint8_t& version_release_number);
137 
143  uint8_t getDeviceState() const;
149  void setDeviceState(uint8_t device_state);
150 
156  uint8_t getConfigState() const;
162  void setConfigState(uint8_t config_state);
163 
169  uint8_t getApplicationState() const;
175  void setApplicationState(uint8_t application_state);
176 
182  uint32_t getCurrentTimePowerOnCount() const;
188  void setCurrentTimePowerOnCount(uint32_t current_time_power_on_count);
189 
195  uint32_t getCurrentTimeTime() const;
201  void setCurrentTimeTime(uint32_t current_time_time);
202 
208  uint16_t getCurrentTimeDate() const;
214  void setCurrentTimeDate(uint16_t current_time_date);
215 
221  uint32_t getErrorInfoCode() const;
227  void setErrorInfoCode(uint32_t error_info_code);
228 
229 
235  uint32_t getErrorInfoTime() const;
241  void setErrorInfoTime(uint32_t error_info_time);
242 
248  uint16_t getErrorInfoDate() const;
254  void setErrorInfoDate(uint16_t error_info_date);
255 
256 
257 private:
258  std::string m_version_c_version;
262  uint8_t m_device_state;
263  uint8_t m_config_state;
271 };
272 
273 
274 } // namespace datastructure
275 } // namespace sick
276 
277 #endif // SICK_SAFETYSCANNERS_DATASTRUCTURE_STATUSOVERVIEW_H
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.
Class containing the serial number of a laser 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