Data.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/Data.h>
00036 
00037 namespace sick {
00038 namespace datastructure {
00039 
00040 Data::Data() {}
00041 
00042 std::shared_ptr<DataHeader> Data::getDataHeaderPtr() const
00043 {
00044   return m_data_header_ptr;
00045 }
00046 
00047 
00048 void Data::setDataHeaderPtr(const std::shared_ptr<DataHeader>& data_header_ptr)
00049 {
00050   m_data_header_ptr = data_header_ptr;
00051 }
00052 
00053 std::shared_ptr<GeneralSystemState> Data::getGeneralSystemStatePtr() const
00054 {
00055   return m_general_system_state_ptr;
00056 }
00057 
00058 void Data::setGeneralSystemStatePtr(
00059   const std::shared_ptr<GeneralSystemState>& general_system_state_ptr)
00060 {
00061   m_general_system_state_ptr = general_system_state_ptr;
00062 }
00063 
00064 std::shared_ptr<DerivedValues> Data::getDerivedValuesPtr() const
00065 {
00066   return m_derived_values_ptr;
00067 }
00068 
00069 void Data::setDerivedValuesPtr(const std::shared_ptr<DerivedValues>& derived_values_ptr)
00070 {
00071   m_derived_values_ptr = derived_values_ptr;
00072 }
00073 
00074 std::shared_ptr<MeasurementData> Data::getMeasurementDataPtr() const
00075 {
00076   return m_measurement_data_ptr;
00077 }
00078 
00079 void Data::setMeasurementDataPtr(const std::shared_ptr<MeasurementData>& measurement_data_ptr)
00080 {
00081   m_measurement_data_ptr = measurement_data_ptr;
00082 }
00083 
00084 std::shared_ptr<IntrusionData> Data::getIntrusionDataPtr() const
00085 {
00086   return m_intrusion_data_ptr;
00087 }
00088 
00089 void Data::setIntrusionDataPtr(const std::shared_ptr<IntrusionData>& intrusion_data_ptr)
00090 {
00091   m_intrusion_data_ptr = intrusion_data_ptr;
00092 }
00093 
00094 std::shared_ptr<ApplicationData> Data::getApplicationDataPtr() const
00095 {
00096   return m_application_data_ptr;
00097 }
00098 
00099 void Data::setApplicationDataPtr(const std::shared_ptr<ApplicationData>& application_data_ptr)
00100 {
00101   m_application_data_ptr = application_data_ptr;
00102 }
00103 
00104 
00105 } // namespace datastructure
00106 } // namespace sick


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