Data.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_DATA_H
36 #define SICK_SAFETYSCANNERS_DATASTRUCTURE_DATA_H
37 
38 #include <memory>
39 
48 
49 namespace sick {
50 namespace datastructure {
51 
55 class Data
56 {
57 public:
61  Data();
62 
68  std::shared_ptr<DataHeader> getDataHeaderPtr() const;
74  void setDataHeaderPtr(const std::shared_ptr<DataHeader>& data_header_ptr);
75 
81  std::shared_ptr<GeneralSystemState> getGeneralSystemStatePtr() const;
82  void
88  setGeneralSystemStatePtr(const std::shared_ptr<GeneralSystemState>& general_system_state_ptr);
89 
95  std::shared_ptr<DerivedValues> getDerivedValuesPtr() const;
101  void setDerivedValuesPtr(const std::shared_ptr<DerivedValues>& derived_values_ptr);
102 
108  std::shared_ptr<MeasurementData> getMeasurementDataPtr() const;
114  void setMeasurementDataPtr(const std::shared_ptr<MeasurementData>& measurement_data_ptr);
115 
121  std::shared_ptr<IntrusionData> getIntrusionDataPtr() const;
127  void setIntrusionDataPtr(const std::shared_ptr<IntrusionData>& intrusion_data_ptr);
128 
134  std::shared_ptr<ApplicationData> getApplicationDataPtr() const;
140  void setApplicationDataPtr(const std::shared_ptr<ApplicationData>& application_data_ptr);
141 
142 private:
143  std::shared_ptr<DataHeader> m_data_header_ptr;
144  std::shared_ptr<GeneralSystemState> m_general_system_state_ptr;
145  std::shared_ptr<DerivedValues> m_derived_values_ptr;
146  std::shared_ptr<MeasurementData> m_measurement_data_ptr;
147  std::shared_ptr<IntrusionData> m_intrusion_data_ptr;
148  std::shared_ptr<ApplicationData> m_application_data_ptr;
149 };
150 
151 } // namespace datastructure
152 } // namespace sick
153 
154 #endif
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
The data class containing all data blocks of a measurement.
Definition: Data.h:55
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