TS++ library: time series library

◆ drop()

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

this function accepts samples

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

Definition at line 207 of file dropcontainer.h.

References ts::drop::DropContainer< T >::attached(), ts::drop::DropContainer< T >::drop(), ts::drop::DropDropContainer< T >::Mi, and ts::drop::DropDropContainer< T >::Mn.

Referenced by main().

208  {
209  --Mi;
210  if (Mi<1)
211  {
212  Mi=Mn;
213  Tbase::attached()->drop(v);
214  }
215  }
virtual void drop(const Tvalue &v)=0
this function accepts samples
PDropContainer attached() const
Here is the call graph for this function:
Here is the caller graph for this function: