egami
C++ Image Processing program
/homes/esi30/DCS339/coursework/src/processing.hpp
Go to the documentation of this file.
00001 
00006 #ifndef PROCESSING_HPP_INCLUDED
00007 #define PROCESSING_HPP_INCLUDED
00008 
00009 #include <functional>
00010 #include <memory>
00011 
00012 class Image_unit;
00013 class Display_unit;
00014 
00018 class Processing{
00019     protected:
00020         typedef std::function<Display_unit*(const Image_unit*)> Process; 
00022     public:
00023         explicit Processing(Process process): process(process) {}
00024 
00032         Display_unit* operator()(const Image_unit* image) const;
00033 
00034     protected:
00035         Process process; 
00036 };
00037 
00038 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends