ConfigMetadata.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 ConfigMetadata::setVersionCVersion(const std::string& version_c_version)
48 {
49  m_version_c_version = version_c_version;
50 }
51 
53 {
55 }
56 
57 void ConfigMetadata::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 ConfigMetadata::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 ConfigMetadata::setVersionReleaseNumber(const uint8_t& version_release_number)
78 {
79  m_version_release_number = version_release_number;
80 }
81 
83 {
85 }
86 
87 void ConfigMetadata::setModificationTimeDate(const uint16_t& modification_time_date)
88 {
89  m_modification_time_date = modification_time_date;
90 }
91 
93 {
95 }
96 
97 void ConfigMetadata::setModificationTimeTime(const uint32_t& modification_time_time)
98 {
99  m_modification_time_time = modification_time_time;
100 }
101 
103 {
104  return m_transfer_time_date;
105 }
106 
107 void ConfigMetadata::setTransferTimeDate(const uint16_t& transfer_time_date)
108 {
109  m_transfer_time_date = transfer_time_date;
110 }
111 
113 {
114  return m_transfer_time_time;
115 }
116 
117 void ConfigMetadata::setTransferTimeTime(const uint32_t& transfer_time_time)
118 {
119  m_transfer_time_time = transfer_time_time;
120 }
121 
123 {
124  return m_app_checksum;
125 }
126 
127 void ConfigMetadata::setAppChecksum(const uint32_t& app_checksum)
128 {
129  m_app_checksum = app_checksum;
130 }
131 
133 {
134  return m_overall_checksum;
135 }
136 
137 void ConfigMetadata::setOverallChecksum(const uint32_t& overall_checksum)
138 {
139  m_overall_checksum = overall_checksum;
140 }
141 
142 std::vector<uint32_t> ConfigMetadata::getIntegrityHash() const
143 {
144  return m_integrity_hash;
145 }
146 
147 void ConfigMetadata::setIntegrityHash(const std::vector<uint32_t>& integrity_hash)
148 {
149  m_integrity_hash = integrity_hash;
150 }
151 
152 
153 } // namespace datastructure
154 } // namespace sick
void setVersionCVersion(const std::string &version_c_version)
Sets the version indicator for the 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