Main Page
Namespaces
Classes
Files
File List
File Members
include
sick_safetyscanners
datastructure
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
48
class
ConfigMetadata
49
{
50
public
:
54
ConfigMetadata
();
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
;
202
uint8_t
m_version_major_version_number
;
203
uint8_t
m_version_minor_version_number
;
204
uint8_t
m_version_release_number
;
205
uint16_t
m_modification_time_date
;
206
uint32_t
m_modification_time_time
;
207
uint16_t
m_transfer_time_date
;
208
uint32_t
m_transfer_time_time
;
209
uint32_t
m_app_checksum
;
210
uint32_t
m_overall_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
sick::datastructure::ConfigMetadata::setVersionCVersion
void setVersionCVersion(const std::string &version_c_version)
Sets the version indicator for the scanner.
Definition:
ConfigMetadata.cpp:47
sick::datastructure::ConfigMetadata
Class containing the serial number of a laser scanner.
Definition:
ConfigMetadata.h:48
sick::datastructure::ConfigMetadata::m_overall_checksum
uint32_t m_overall_checksum
Definition:
ConfigMetadata.h:210
sick::datastructure::ConfigMetadata::m_app_checksum
uint32_t m_app_checksum
Definition:
ConfigMetadata.h:209
sick::datastructure::ConfigMetadata::m_modification_time_time
uint32_t m_modification_time_time
Definition:
ConfigMetadata.h:206
sick::datastructure::ConfigMetadata::getOverallChecksum
uint32_t getOverallChecksum() const
Gets the overall checksum for the scanner.
Definition:
ConfigMetadata.cpp:132
sick::datastructure::ConfigMetadata::m_modification_time_date
uint16_t m_modification_time_date
Definition:
ConfigMetadata.h:205
sick::datastructure::ConfigMetadata::setModificationTimeTime
void setModificationTimeTime(const uint32_t &modification_time_time)
Sets the modification time time for the scanner.
Definition:
ConfigMetadata.cpp:97
sick::datastructure::ConfigMetadata::setModificationTimeDate
void setModificationTimeDate(const uint16_t &modification_time_date)
Sets the modification time date for the scanner.
Definition:
ConfigMetadata.cpp:87
sick::datastructure::ConfigMetadata::getVersionReleaseNumber
uint8_t getVersionReleaseNumber() const
Gets the version release number for the scanner.
Definition:
ConfigMetadata.cpp:72
sick::datastructure::ConfigMetadata::m_version_c_version
std::string m_version_c_version
Definition:
ConfigMetadata.h:201
sick::datastructure::ConfigMetadata::setIntegrityHash
void setIntegrityHash(const std::vector< uint32_t > &integrity_hash)
Sets the integrity hash for the scanner.
Definition:
ConfigMetadata.cpp:147
sick::datastructure::ConfigMetadata::getVersionMajorVersionNumber
uint8_t getVersionMajorVersionNumber() const
Gets the major version number for the scanner.
Definition:
ConfigMetadata.cpp:52
sick::datastructure::ConfigMetadata::m_version_major_version_number
uint8_t m_version_major_version_number
Definition:
ConfigMetadata.h:202
sick::datastructure::ConfigMetadata::setVersionMajorVersionNumber
void setVersionMajorVersionNumber(const uint8_t &version_major_version_number)
Sets the major version number for the scanner.
Definition:
ConfigMetadata.cpp:57
sick::datastructure::ConfigMetadata::m_version_minor_version_number
uint8_t m_version_minor_version_number
Definition:
ConfigMetadata.h:203
sick::datastructure::ConfigMetadata::setTransferTimeTime
void setTransferTimeTime(const uint32_t &transfer_time_time)
Sets the transfer time time for the scanner.
Definition:
ConfigMetadata.cpp:117
sick::datastructure::ConfigMetadata::m_transfer_time_date
uint16_t m_transfer_time_date
Definition:
ConfigMetadata.h:207
sick::datastructure::ConfigMetadata::getModificationTimeDate
uint16_t getModificationTimeDate() const
Gets the modification time date for the scanner.
Definition:
ConfigMetadata.cpp:82
sick::datastructure::ConfigMetadata::getModificationTimeTime
uint32_t getModificationTimeTime() const
Gets the modification time time for the scanner.
Definition:
ConfigMetadata.cpp:92
sick::datastructure::ConfigMetadata::getIntegrityHash
std::vector< uint32_t > getIntegrityHash() const
Gets the integrity hash for the scanner.
Definition:
ConfigMetadata.cpp:142
sick::datastructure::ConfigMetadata::ConfigMetadata
ConfigMetadata()
Constructor of the config metadata.
Definition:
ConfigMetadata.cpp:40
sick::datastructure::ConfigMetadata::setTransferTimeDate
void setTransferTimeDate(const uint16_t &transfer_time_date)
Sets the transfer time date for the scanner.
Definition:
ConfigMetadata.cpp:107
sick::datastructure::ConfigMetadata::getVersionCVersion
std::string getVersionCVersion() const
Gets the version indicator for the scanner.
Definition:
ConfigMetadata.cpp:42
sick
Definition:
ApplicationNameVariableCommand.h:43
sick::datastructure::ConfigMetadata::getTransferTimeTime
uint32_t getTransferTimeTime() const
Gets the transfer time time for the scanner.
Definition:
ConfigMetadata.cpp:112
sick::datastructure::ConfigMetadata::setVersionReleaseNumber
void setVersionReleaseNumber(const uint8_t &version_release_number)
Sets the version release number for the scanner.
Definition:
ConfigMetadata.cpp:77
sick::datastructure::ConfigMetadata::getAppChecksum
uint32_t getAppChecksum() const
Gets the application checksum for the scanner.
Definition:
ConfigMetadata.cpp:122
sick::datastructure::ConfigMetadata::m_version_release_number
uint8_t m_version_release_number
Definition:
ConfigMetadata.h:204
sick::datastructure::ConfigMetadata::setAppChecksum
void setAppChecksum(const uint32_t &app_checksum)
Sets the application checksum for the scanner.
Definition:
ConfigMetadata.cpp:127
sick::datastructure::ConfigMetadata::getTransferTimeDate
uint16_t getTransferTimeDate() const
Gets the transfer time date for the scanner.
Definition:
ConfigMetadata.cpp:102
sick::datastructure::ConfigMetadata::m_integrity_hash
std::vector< uint32_t > m_integrity_hash
Definition:
ConfigMetadata.h:211
sick::datastructure::ConfigMetadata::setOverallChecksum
void setOverallChecksum(const uint32_t &overall_checksum)
Sets the overall checksum for the scanner.
Definition:
ConfigMetadata.cpp:137
sick::datastructure::ConfigMetadata::setVersionMinorVersionNumber
void setVersionMinorVersionNumber(const uint8_t &version_minor_version_number)
Sets the minor version number for the scanner.
Definition:
ConfigMetadata.cpp:67
sick::datastructure::ConfigMetadata::getVersionMinorVersionNumber
uint8_t getVersionMinorVersionNumber() const
Gets the minor version number for the scanner.
Definition:
ConfigMetadata.cpp:62
sick::datastructure::ConfigMetadata::m_transfer_time_time
uint32_t m_transfer_time_time
Definition:
ConfigMetadata.h:208
sick_safetyscanners
Author(s): Lennart Puck
autogenerated on Fri Apr 2 2021 02:45:41