Main Page
Namespaces
Classes
Files
File List
File Members
src
datastructure
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
35
#include <
sick_safetyscanners/datastructure/ConfigMetadata.h
>
36
37
namespace
sick
{
38
namespace
datastructure {
39
40
ConfigMetadata::ConfigMetadata
() {}
41
42
std::string
ConfigMetadata::getVersionCVersion
()
const
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
52
uint8_t
ConfigMetadata::getVersionMajorVersionNumber
()
const
53
{
54
return
m_version_major_version_number
;
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
62
uint8_t
ConfigMetadata::getVersionMinorVersionNumber
()
const
63
{
64
return
m_version_minor_version_number
;
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
72
uint8_t
ConfigMetadata::getVersionReleaseNumber
()
const
73
{
74
return
m_version_release_number
;
75
}
76
77
void
ConfigMetadata::setVersionReleaseNumber
(
const
uint8_t& version_release_number)
78
{
79
m_version_release_number
= version_release_number;
80
}
81
82
uint16_t
ConfigMetadata::getModificationTimeDate
()
const
83
{
84
return
m_modification_time_date
;
85
}
86
87
void
ConfigMetadata::setModificationTimeDate
(
const
uint16_t& modification_time_date)
88
{
89
m_modification_time_date
= modification_time_date;
90
}
91
92
uint32_t
ConfigMetadata::getModificationTimeTime
()
const
93
{
94
return
m_modification_time_time
;
95
}
96
97
void
ConfigMetadata::setModificationTimeTime
(
const
uint32_t& modification_time_time)
98
{
99
m_modification_time_time
= modification_time_time;
100
}
101
102
uint16_t
ConfigMetadata::getTransferTimeDate
()
const
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
112
uint32_t
ConfigMetadata::getTransferTimeTime
()
const
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
122
uint32_t
ConfigMetadata::getAppChecksum
()
const
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
132
uint32_t
ConfigMetadata::getOverallChecksum
()
const
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
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::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
ConfigMetadata.h
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