DataHeader.cpp
Go to the documentation of this file.
00001 // this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*-
00002 
00003 // -- BEGIN LICENSE BLOCK ----------------------------------------------
00004 
00024 // -- END LICENSE BLOCK ------------------------------------------------
00025 
00026 //----------------------------------------------------------------------
00033 //----------------------------------------------------------------------
00034 
00035 #include <sick_safetyscanners/datastructure/DataHeader.h>
00036 
00037 namespace sick {
00038 namespace datastructure {
00039 
00040 DataHeader::DataHeader()
00041   : m_is_empty(false)
00042 {
00043 }
00044 
00045 uint8_t DataHeader::getVersionIndicator() const
00046 {
00047   return m_version_indicator;
00048 }
00049 
00050 void DataHeader::setVersionIndicator(const uint8_t& version_indicator)
00051 {
00052   m_version_indicator = version_indicator;
00053 }
00054 
00055 uint8_t DataHeader::getVersionMajorVersion() const
00056 {
00057   return m_version_major_version;
00058 }
00059 
00060 void DataHeader::setVersionMajorVersion(const uint8_t& version_major_version)
00061 {
00062   m_version_major_version = version_major_version;
00063 }
00064 
00065 uint8_t DataHeader::getVersionMinorVersion() const
00066 {
00067   return m_version_minor_version;
00068 }
00069 
00070 void DataHeader::setVersionMinorVersion(const uint8_t& version_minor_version)
00071 {
00072   m_version_minor_version = version_minor_version;
00073 }
00074 
00075 uint8_t DataHeader::getVersionRelease() const
00076 {
00077   return m_version_release;
00078 }
00079 
00080 void DataHeader::setVersionRelease(const uint8_t& version_release)
00081 {
00082   m_version_release = version_release;
00083 }
00084 
00085 uint32_t DataHeader::getSerialNumberOfDevice() const
00086 {
00087   return m_serial_number_of_device;
00088 }
00089 
00090 void DataHeader::setSerialNumberOfDevice(const uint32_t& serial_number_of_device)
00091 {
00092   m_serial_number_of_device = serial_number_of_device;
00093 }
00094 
00095 uint32_t DataHeader::getSerialNumberOfSystemPlug() const
00096 {
00097   return m_serial_number_of_system_plug;
00098 }
00099 
00100 void DataHeader::setSerialNumberOfSystemPlug(const uint32_t& serial_number_of_system_plug)
00101 {
00102   m_serial_number_of_system_plug = serial_number_of_system_plug;
00103 }
00104 
00105 uint8_t DataHeader::getChannelNumber() const
00106 {
00107   return m_channel_number;
00108 }
00109 
00110 void DataHeader::setChannelNumber(const uint8_t& channel_number)
00111 {
00112   m_channel_number = channel_number;
00113 }
00114 
00115 uint32_t DataHeader::getSequenceNumber() const
00116 {
00117   return m_sequence_number;
00118 }
00119 
00120 void DataHeader::setSequenceNumber(const uint32_t& sequence_number)
00121 {
00122   m_sequence_number = sequence_number;
00123 }
00124 
00125 uint32_t DataHeader::getScanNumber() const
00126 {
00127   return m_scan_number;
00128 }
00129 
00130 void DataHeader::setScanNumber(const uint32_t& scan_number)
00131 {
00132   m_scan_number = scan_number;
00133 }
00134 
00135 uint16_t DataHeader::getTimestampDate() const
00136 {
00137   return m_timestamp_date;
00138 }
00139 
00140 void DataHeader::setTimestampDate(const uint16_t& timestamp_date)
00141 {
00142   m_timestamp_date = timestamp_date;
00143 }
00144 
00145 uint32_t DataHeader::getTimestampTime() const
00146 {
00147   return m_timestamp_time;
00148 }
00149 
00150 void DataHeader::setTimestampTime(const uint32_t& timestamp_time)
00151 {
00152   m_timestamp_time = timestamp_time;
00153 }
00154 
00155 uint16_t DataHeader::getGeneralSystemStateBlockOffset() const
00156 {
00157   return m_general_system_state_block_offset;
00158 }
00159 
00160 void DataHeader::setGeneralSystemStateBlockOffset(const uint16_t& general_system_state_block_offset)
00161 {
00162   m_general_system_state_block_offset = general_system_state_block_offset;
00163 }
00164 
00165 uint16_t DataHeader::getGeneralSystemStateBlockSize() const
00166 {
00167   return m_general_system_state_block_size;
00168 }
00169 
00170 void DataHeader::setGeneralSystemStateBlockSize(const uint16_t& general_system_state_block_size)
00171 {
00172   m_general_system_state_block_size = general_system_state_block_size;
00173 }
00174 
00175 uint16_t DataHeader::getDerivedValuesBlockOffset() const
00176 {
00177   return m_derived_values_block_offset;
00178 }
00179 
00180 void DataHeader::setDerivedValuesBlockOffset(const uint16_t& derived_values_block_offset)
00181 {
00182   m_derived_values_block_offset = derived_values_block_offset;
00183 }
00184 
00185 uint16_t DataHeader::getDerivedValuesBlockSize() const
00186 {
00187   return m_derived_values_block_size;
00188 }
00189 
00190 void DataHeader::setDerivedValuesBlockSize(const uint16_t& derived_values_block_size)
00191 {
00192   m_derived_values_block_size = derived_values_block_size;
00193 }
00194 
00195 uint16_t DataHeader::getMeasurementDataBlockOffset() const
00196 {
00197   return m_measurement_data_block_offset;
00198 }
00199 
00200 void DataHeader::setMeasurementDataBlockOffset(const uint16_t& measurement_data_block_offset)
00201 {
00202   m_measurement_data_block_offset = measurement_data_block_offset;
00203 }
00204 
00205 uint16_t DataHeader::getMeasurementDataBlockSize() const
00206 {
00207   return m_measurement_data_block_size;
00208 }
00209 
00210 void DataHeader::setMeasurementDataBlockSize(const uint16_t& measurement_data_block_size)
00211 {
00212   m_measurement_data_block_size = measurement_data_block_size;
00213 }
00214 
00215 uint16_t DataHeader::getIntrusionDataBlockOffset() const
00216 {
00217   return m_intrusion_data_block_offset;
00218 }
00219 
00220 void DataHeader::setIntrusionDataBlockOffset(const uint16_t& intrusion_data_block_offset)
00221 {
00222   m_intrusion_data_block_offset = intrusion_data_block_offset;
00223 }
00224 
00225 uint16_t DataHeader::getIntrusionDataBlockSize() const
00226 {
00227   return m_intrusion_data_block_size;
00228 }
00229 
00230 void DataHeader::setIntrusionDataBlockSize(const uint16_t& intrusion_data_block_size)
00231 {
00232   m_intrusion_data_block_size = intrusion_data_block_size;
00233 }
00234 
00235 uint16_t DataHeader::getApplicationDataBlockOffset() const
00236 {
00237   return m_application_data_block_offset;
00238 }
00239 
00240 void DataHeader::setApplicationDataBlockOffset(const uint16_t& application_data_block_offset)
00241 {
00242   m_application_data_block_offset = application_data_block_offset;
00243 }
00244 
00245 uint16_t DataHeader::getApplicationDataBlockSize() const
00246 {
00247   return m_application_data_block_size;
00248 }
00249 
00250 void DataHeader::setApplicationDataBlockSize(const uint16_t& application_data_block_size)
00251 {
00252   m_application_data_block_size = application_data_block_size;
00253 }
00254 
00255 bool DataHeader::isEmpty() const
00256 {
00257   return m_is_empty;
00258 }
00259 
00260 void DataHeader::setIsEmpty(bool is_empty)
00261 {
00262   m_is_empty = is_empty;
00263 }
00264 
00265 } // namespace datastructure
00266 } // namespace sick


sick_safetyscanners
Author(s): Lennart Puck
autogenerated on Tue May 7 2019 03:27:36