TS++ library: time series library

◆ drop()

template<class T >
void ts::drop::FIRDropContainer< T >::drop ( const Tvalue v)
virtual

this function accepts samples

Implements ts::drop::DropContainer< T >.

Definition at line 308 of file dropcontainer.h.

Referenced by main().

309  {
310  Mf->push(v);
311  --Mi;
312  if (Mi<1)
313  {
315  Tbase::attached()->drop(Mf->pop());
316  }
317  }
const FIR & fir() const
Definition: firfilters.h:147
Tvalue pop() const
Definition: firfilters.h:123
virtual void drop(const Tvalue &v)=0
this function accepts samples
void push(const Tvalue &v)
Definition: firfilters.h:118
const int decimation_factor
Definition: firfilters.h:59
PDropContainer attached() const
Here is the caller graph for this function: