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/ApplicationData.h> 00036 00037 namespace sick { 00038 namespace datastructure { 00039 00040 ApplicationData::ApplicationData() 00041 : m_is_empty(false) 00042 { 00043 } 00044 00045 ApplicationInputs ApplicationData::getInputs() const 00046 { 00047 return m_inputs; 00048 } 00049 00050 void ApplicationData::setInputs(const ApplicationInputs& inputs) 00051 { 00052 m_inputs = inputs; 00053 } 00054 00055 ApplicationOutputs ApplicationData::getOutputs() const 00056 { 00057 return m_outputs; 00058 } 00059 00060 void ApplicationData::setOutputs(const ApplicationOutputs& outputs) 00061 { 00062 m_outputs = outputs; 00063 } 00064 00065 bool ApplicationData::isEmpty() const 00066 { 00067 return m_is_empty; 00068 } 00069 00070 void ApplicationData::setIsEmpty(bool is_empty) 00071 { 00072 m_is_empty = is_empty; 00073 } 00074 00075 00076 } // namespace datastructure 00077 } // namespace sick