ConfigMetadata.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_CONFIGMETADATA_H
36 #define SICK_SAFETYSCANNERS_DATASTRUCTURE_CONFIGMETADATA_H
37 
38 #include <iostream>
39 #include <vector>
40 
41 
42 namespace sick {
43 namespace datastructure {
44 
49 {
50 public:
55 
61  std::string getVersionCVersion() const;
67  void setVersionCVersion(const std::string& version_c_version);
68 
74  uint8_t getVersionMajorVersionNumber() const;
80  void setVersionMajorVersionNumber(const uint8_t& version_major_version_number);
81 
87  uint8_t getVersionMinorVersionNumber() const;
93  void setVersionMinorVersionNumber(const uint8_t& version_minor_version_number);
94 
100  uint8_t getVersionReleaseNumber() const;
106  void setVersionReleaseNumber(const uint8_t& version_release_number);
107 
113  uint16_t getModificationTimeDate() const;
119  void setModificationTimeDate(const uint16_t& modification_time_date);
120 
126  uint32_t getModificationTimeTime() const;
132  void setModificationTimeTime(const uint32_t& modification_time_time);
133 
139  uint16_t getTransferTimeDate() const;
145  void setTransferTimeDate(const uint16_t& transfer_time_date);
146 
152  uint32_t getTransferTimeTime() const;
158  void setTransferTimeTime(const uint32_t& transfer_time_time);
159 
165  uint32_t getAppChecksum() const;
171  void setAppChecksum(const uint32_t& app_checksum);
172 
178  uint32_t getOverallChecksum() const;
184  void setOverallChecksum(const uint32_t& overall_checksum);
185 
191  std::vector<uint32_t> getIntegrityHash() const;
197  void setIntegrityHash(const std::vector<uint32_t>& integrity_hash);
198 
199 
200 private:
201  std::string m_version_c_version;
209  uint32_t m_app_checksum;
211  std::vector<uint32_t> m_integrity_hash;
212 };
213 
214 
215 } // namespace datastructure
216 } // namespace sick
217 
218 #endif // SICK_SAFETYSCANNERS_DATASTRUCTURE_CONFIGMETADATA_H
void setVersionCVersion(const std::string &version_c_version)
Sets the version indicator for the scanner.
Class containing the serial number of a laser scanner.
uint32_t getOverallChecksum() const
Gets the overall checksum for the scanner.
void setModificationTimeTime(const uint32_t &modification_time_time)
Sets the modification time time for the scanner.
void setModificationTimeDate(const uint16_t &modification_time_date)
Sets the modification time date for the scanner.
uint8_t getVersionReleaseNumber() const
Gets the version release number for the scanner.
void setIntegrityHash(const std::vector< uint32_t > &integrity_hash)
Sets the integrity hash for the scanner.
uint8_t getVersionMajorVersionNumber() const
Gets the major version number for the scanner.
void setVersionMajorVersionNumber(const uint8_t &version_major_version_number)
Sets the major version number for the scanner.
void setTransferTimeTime(const uint32_t &transfer_time_time)
Sets the transfer time time for the scanner.
uint16_t getModificationTimeDate() const
Gets the modification time date for the scanner.
uint32_t getModificationTimeTime() const
Gets the modification time time for the scanner.
std::vector< uint32_t > getIntegrityHash() const
Gets the integrity hash for the scanner.
ConfigMetadata()
Constructor of the config metadata.
void setTransferTimeDate(const uint16_t &transfer_time_date)
Sets the transfer time date for the scanner.
std::string getVersionCVersion() const
Gets the version indicator for the scanner.
uint32_t getTransferTimeTime() const
Gets the transfer time time for the scanner.
void setVersionReleaseNumber(const uint8_t &version_release_number)
Sets the version release number for the scanner.
uint32_t getAppChecksum() const
Gets the application checksum for the scanner.
void setAppChecksum(const uint32_t &app_checksum)
Sets the application checksum for the scanner.
uint16_t getTransferTimeDate() const
Gets the transfer time date for the scanner.
std::vector< uint32_t > m_integrity_hash
void setOverallChecksum(const uint32_t &overall_checksum)
Sets the overall checksum for the scanner.
void setVersionMinorVersionNumber(const uint8_t &version_minor_version_number)
Sets the minor version number for the scanner.
uint8_t getVersionMinorVersionNumber() const
Gets the minor version number for the scanner.


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