00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef HxStatFunctorTem_h
00012 #define HxStatFunctorTem_h
00013
00014 #include "HxStatFunctorTable.h"
00015 #include "HxPoint.h"
00016 #include "HxValueList.h"
00017
00019 template <class ArgType, class ResType>
00020 class L_HXIMAGEREP HxStatFunctorTem
00021 {
00022 public:
00024 HxStatFunctorTem(HxString name);
00025
00026 virtual ~HxStatFunctorTem();
00027
00029 virtual void init() = 0;
00030
00032 virtual void next(ArgType pixV) = 0;
00033
00035 virtual ResType result() = 0;
00036
00037 private:
00038 HxStatFunctorTem();
00039 HxString _name;
00040 };
00041
00042 #ifdef INC_TEMPLATE_SRC
00043 #include "HxStatFunctorTem.c"
00044 #endif
00045
00046 #endif