-template< class _TTraits >
-void fpa::Filters::Mori< _TTraits >::
-_Reinitialize( )
-{
- if( this->m_Queues[ this->m_CurrQueue ].size( ) == 0 )
- {
- // Update peak detector
- TPeak p = this->m_PeakDetector.AddValue(
- *this->m_CurrThr, this->m_CurrCount
- );
- this->m_CurrThr++;
- this->m_CurrQueue = ( this->m_CurrQueue + 1 ) % 2;
- if( this->m_CurrThr != this->m_Thresholds.end( ) )
- {
- // Update predicate and counting value
- this->m_Predicate->SetUpperThreshold( *( this->m_CurrThr ) );
- this->m_CurrCount = double( 0 );
-
- // Peak detected? -> stop!
- if(
- p == TPeakDetector::PosPeak &&
- this->m_MinimumThreshold < *( this->m_CurrThr )
- )
- this->_QueueClear( );
- }
- else
- this->_QueueClear( );
-
- } // fi
-}
-
-// -------------------------------------------------------------------------
-template< class _TTraits >
-void fpa::Filters::Mori< _TTraits >::
-_UpdateOutputValue( TNode& n )
+template< class _TDataInterface >
+void fpa::Filters::Mori< _TDataInterface >::
+_PostComputeOutputValue( TNode& n )