MetriVis Overview | Download | User Manual | Development
Reference Overview | Design Documentation | Reference Backend | Reference Frontend

src/pipeline/PipelineProcess.h

Go to the documentation of this file.
00001 /*
00002  *   MetriVis - Metrics Visualization Application
00003  *
00004  *
00005  *   License notice:
00006  *
00007  *   This program is free software: you can redistribute it and/or modify
00008  *   it under the terms of the GNU General Public License as published by
00009  *   the Free Software Foundation, either version 3 of the License, or
00010  *   (at your option) any later version.
00011  *
00012  *   This program is distributed in the hope that it will be useful,
00013  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015  *   GNU General Public License for more details.
00016  *
00017  *   You should have received a copy of the GNU General Public License
00018  *   along with this program.  If not, see <http://www.gnu.org/licenses/>.
00019  *
00020  */
00021 
00022 
00029 #ifndef _METRIVIS_PIPELINE_PROCESS_H
00030 #define _METRIVIS_PIPELINE_PROCESS_H
00031 
00032 
00033 #include "../container/MultiType.h"
00034 
00035 
00036 namespace metrivis {
00037 
00038 
00044 class PipelineProcess {
00045 
00046 public:
00047 
00051   PipelineProcess();
00052 
00056   virtual ~PipelineProcess();
00057 
00064   virtual void Execute() = 0;
00065 
00066 
00074   virtual void Reset();
00075 
00076 
00083   void set_input_data(MultiTypePtr input_data) {
00084     input_data_ = input_data;
00085   }
00086 
00087 
00088 
00093   const MultiTypePtr output_data() const {
00094     return output_data_;
00095   }
00096 
00097 
00098 
00099 
00100 protected:
00101 
00102   MultiTypePtr input_data_;     
00103   MultiTypePtr output_data_;    
00104 
00105 };
00106 
00107 }
00108 
00109 #endif // _METRIVIS_PIPELINE_PROCESS_H

Generated on Fri Feb 29 16:47:19 2008 for MetriVis by  doxygen 1.5.3