casa::Vi2ChunkStatisticsIteratee< DataIterator, WeightsIterator, MaskIterator > Class Template Reference

This class is used to encapsulate the action(s) taken on a sequence of StatisticsAlgorithm instances that are generated by the Vi2ChunkDataProvider::foreachChunk() method, which can be used to compute statistics for each MS chunk provided by a VisibilityIterator2 instance. More...

#include <Vi2ChunkStatisticsIteratee.h>

List of all members.

Public Member Functions

virtual void nextChunk (StatisticsAlgorithm< AccumType, DataIterator, MaskIterator, WeightsIterator > &stats, const vi::VisBuffer2 *vb)=0
 This method will be called by Vi2ChunkDataProvider::foreachChunk() for each chunk provided by a VisibilityIterator2 instance, with the StatisticsAlgorithm instance initialized with a data provider for the chunk.

Private Types

typedef DataIterator::AccumType AccumType

Detailed Description

template<class DataIterator, class WeightsIterator, class MaskIterator>
class casa::Vi2ChunkStatisticsIteratee< DataIterator, WeightsIterator, MaskIterator >

This class is used to encapsulate the action(s) taken on a sequence of StatisticsAlgorithm instances that are generated by the Vi2ChunkDataProvider::foreachChunk() method, which can be used to compute statistics for each MS chunk provided by a VisibilityIterator2 instance.

See the Vi2ChunkDataProvider.h file for an outline of how this class may be used.

Definition at line 17 of file Vi2ChunkStatisticsIteratee.h.


Member Typedef Documentation

template<class DataIterator, class WeightsIterator, class MaskIterator>
typedef DataIterator::AccumType casa::Vi2ChunkStatisticsIteratee< DataIterator, WeightsIterator, MaskIterator >::AccumType [private]

Definition at line 19 of file Vi2ChunkStatisticsIteratee.h.


Member Function Documentation

template<class DataIterator, class WeightsIterator, class MaskIterator>
virtual void casa::Vi2ChunkStatisticsIteratee< DataIterator, WeightsIterator, MaskIterator >::nextChunk ( StatisticsAlgorithm< AccumType, DataIterator, MaskIterator, WeightsIterator > &  stats,
const vi::VisBuffer2 vb 
) [pure virtual]

This method will be called by Vi2ChunkDataProvider::foreachChunk() for each chunk provided by a VisibilityIterator2 instance, with the StatisticsAlgorithm instance initialized with a data provider for the chunk.

The pointer to the VisBuffer2 instance is provided in case this method needs to get some metadata for the current chunk.

Referenced by casa::Vi2ChunkDataProvider< DataIterator, MaskIterator, WeightsIterator >::foreachChunk().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1