Data.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 
42 std::shared_ptr<DataHeader> Data::getDataHeaderPtr() const
43 {
44  return m_data_header_ptr;
45 }
46 
47 
48 void Data::setDataHeaderPtr(const std::shared_ptr<DataHeader>& data_header_ptr)
49 {
50  m_data_header_ptr = data_header_ptr;
51 }
52 
53 std::shared_ptr<GeneralSystemState> Data::getGeneralSystemStatePtr() const
54 {
56 }
57 
59  const std::shared_ptr<GeneralSystemState>& general_system_state_ptr)
60 {
61  m_general_system_state_ptr = general_system_state_ptr;
62 }
63 
64 std::shared_ptr<DerivedValues> Data::getDerivedValuesPtr() const
65 {
66  return m_derived_values_ptr;
67 }
68 
69 void Data::setDerivedValuesPtr(const std::shared_ptr<DerivedValues>& derived_values_ptr)
70 {
71  m_derived_values_ptr = derived_values_ptr;
72 }
73 
74 std::shared_ptr<MeasurementData> Data::getMeasurementDataPtr() const
75 {
77 }
78 
79 void Data::setMeasurementDataPtr(const std::shared_ptr<MeasurementData>& measurement_data_ptr)
80 {
81  m_measurement_data_ptr = measurement_data_ptr;
82 }
83 
84 std::shared_ptr<IntrusionData> Data::getIntrusionDataPtr() const
85 {
86  return m_intrusion_data_ptr;
87 }
88 
89 void Data::setIntrusionDataPtr(const std::shared_ptr<IntrusionData>& intrusion_data_ptr)
90 {
91  m_intrusion_data_ptr = intrusion_data_ptr;
92 }
93 
94 std::shared_ptr<ApplicationData> Data::getApplicationDataPtr() const
95 {
97 }
98 
99 void Data::setApplicationDataPtr(const std::shared_ptr<ApplicationData>& application_data_ptr)
100 {
101  m_application_data_ptr = application_data_ptr;
102 }
103 
104 
105 } // namespace datastructure
106 } // namespace sick
void setApplicationDataPtr(const std::shared_ptr< ApplicationData > &application_data_ptr)
Sets the application data.
Definition: Data.cpp:99
std::shared_ptr< GeneralSystemState > m_general_system_state_ptr
Definition: Data.h:144
std::shared_ptr< ApplicationData > getApplicationDataPtr() const
Gets the application data.
Definition: Data.cpp:94
std::shared_ptr< DerivedValues > m_derived_values_ptr
Definition: Data.h:145
std::shared_ptr< IntrusionData > getIntrusionDataPtr() const
Gets the intrusion data.
Definition: Data.cpp:84
Data()
Constructor of data instance.
Definition: Data.cpp:40
std::shared_ptr< ApplicationData > m_application_data_ptr
Definition: Data.h:148
std::shared_ptr< MeasurementData > m_measurement_data_ptr
Definition: Data.h:146
void setMeasurementDataPtr(const std::shared_ptr< MeasurementData > &measurement_data_ptr)
Sets the measurement data.
Definition: Data.cpp:79
void setDerivedValuesPtr(const std::shared_ptr< DerivedValues > &derived_values_ptr)
Sets the derived values.
Definition: Data.cpp:69
std::shared_ptr< DataHeader > m_data_header_ptr
Definition: Data.h:143
std::shared_ptr< MeasurementData > getMeasurementDataPtr() const
Gets the measurement data.
Definition: Data.cpp:74
void setDataHeaderPtr(const std::shared_ptr< DataHeader > &data_header_ptr)
Sets the data header.
Definition: Data.cpp:48
std::shared_ptr< GeneralSystemState > getGeneralSystemStatePtr() const
Gets the general system state.
Definition: Data.cpp:53
std::shared_ptr< DataHeader > getDataHeaderPtr() const
Gets the data header.
Definition: Data.cpp:42
void setGeneralSystemStatePtr(const std::shared_ptr< GeneralSystemState > &general_system_state_ptr)
Sets the general system state.
Definition: Data.cpp:58
void setIntrusionDataPtr(const std::shared_ptr< IntrusionData > &intrusion_data_ptr)
Sets the intrusion data.
Definition: Data.cpp:89
std::shared_ptr< DerivedValues > getDerivedValuesPtr() const
Gets the derived values.
Definition: Data.cpp:64
std::shared_ptr< IntrusionData > m_intrusion_data_ptr
Definition: Data.h:147


sick_safetyscanners
Author(s): Lennart Puck
autogenerated on Fri Apr 2 2021 02:45:41