AverageStacker< ValueType > Class Template Reference

List of all members.

Public Member Functions

virtual void reset ()
virtual void operator() (const ValueType &val)
virtual void getResult (ValueType &val)
virtual bool IsValid ()

Private Attributes

vigra::NumericTraits< ValueType
>::RealPromote 
m_sum
size_t m_count

Detailed Description

template<class ValueType>
class AverageStacker< ValueType >

Definition at line 434 of file stacker.cpp.


Member Function Documentation

template<class ValueType>
virtual void AverageStacker< ValueType >::getResult ( ValueType &  val  )  [inline, virtual]

Definition at line 439 of file stacker.cpp.

References AverageStacker< ValueType >::m_count, and AverageStacker< ValueType >::m_sum.

template<class ValueType>
virtual bool AverageStacker< ValueType >::IsValid (  )  [inline, virtual]

Definition at line 440 of file stacker.cpp.

template<class ValueType>
virtual void AverageStacker< ValueType >::operator() ( const ValueType &  val  )  [inline, virtual]

Definition at line 438 of file stacker.cpp.

References AverageStacker< ValueType >::m_count, and AverageStacker< ValueType >::m_sum.

template<class ValueType>
virtual void AverageStacker< ValueType >::reset (  )  [inline, virtual]

Definition at line 437 of file stacker.cpp.

References AverageStacker< ValueType >::m_count, and AverageStacker< ValueType >::m_sum.


Member Data Documentation

template<class ValueType>
size_t AverageStacker< ValueType >::m_count [private]

Definition at line 444 of file stacker.cpp.

Referenced by AverageStacker< ValueType >::getResult(), AverageStacker< ValueType >::operator()(), and AverageStacker< ValueType >::reset().

template<class ValueType>
vigra::NumericTraits<ValueType>::RealPromote AverageStacker< ValueType >::m_sum [private]

Definition at line 440 of file stacker.cpp.

Referenced by AverageStacker< ValueType >::getResult(), AverageStacker< ValueType >::operator()(), and AverageStacker< ValueType >::reset().


The documentation for this class was generated from the following file:
Generated on 23 Jan 2018 for Hugintrunk by  doxygen 1.4.7