Vi2ChunkStatisticsIteratee.h
Go to the documentation of this file.00001
00002 #ifndef VI2_CHUNK_STATISTICS_ITERATEE_H_
00003 #define VI2_CHUNK_STATISTICS_ITERATEE_H_
00004
00005 #include <msvis/MSVis/VisBuffer2.h>
00006 #include <casacore/scimath/Mathematics/StatisticsAlgorithm.h>
00007
00008 namespace casa {
00009
00010
00011
00012
00013
00014
00015
00016 template <class DataIterator, class WeightsIterator, class MaskIterator>
00017 class Vi2ChunkStatisticsIteratee {
00018
00019 typedef typename DataIterator::AccumType AccumType;
00020
00021 public:
00022
00023
00024
00025
00026
00027
00028 virtual void nextChunk(
00029 StatisticsAlgorithm<AccumType,DataIterator,MaskIterator,WeightsIterator> &stats,
00030 const vi::VisBuffer2 *vb) = 0;
00031 };
00032
00033 }
00034
00035 #endif // VI2_CHUNK_STATISTICS_ITERATEE_H_