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 #ifndef SICK_SAFETYSCANNERS_DATASTRUCTURE_APPLICATIONDATA_H 00036 #define SICK_SAFETYSCANNERS_DATASTRUCTURE_APPLICATIONDATA_H 00037 00038 #include <sick_safetyscanners/datastructure/ApplicationInputs.h> 00039 #include <sick_safetyscanners/datastructure/ApplicationOutputs.h> 00040 00041 namespace sick { 00042 namespace datastructure { 00043 00047 class ApplicationData 00048 { 00049 public: 00053 ApplicationData(); 00054 00060 ApplicationInputs getInputs() const; 00066 void setInputs(const ApplicationInputs& inputs); 00067 00073 ApplicationOutputs getOutputs() const; 00079 void setOutputs(const ApplicationOutputs& outputs); 00080 00086 bool isEmpty() const; 00092 void setIsEmpty(bool is_empty); 00093 00094 private: 00095 bool m_is_empty; 00096 00097 ApplicationInputs m_inputs; 00098 ApplicationOutputs m_outputs; 00099 }; 00100 00101 00102 } // namespace datastructure 00103 } // namespace sick 00104 00105 #endif // SICK_SAFETYSCANNERS_DATASTRUCTURE_APPLICATIONDATA_H