36 #ifndef TF_DROPCONTAINER_H_VERSION 38 #define TF_DROPCONTAINER_H_VERSION \ 39 "TF_DROPCONTAINER_H V1.0" 141 "DropContainer: not properly initialized!");
167 "SeriesDropContainer: index out of bounds");
175 "do not attach after initialization!"); }
185 virtual const typename Tseries::Tcoc&
container()
const {
return(
Ms); }
302 this->initializenext(n);
314 Mi=Mf->fir().decimation_factor;
315 Tbase::attached()->drop(Mf->pop());
323 #endif // TF_DROPCONTAINER_H_VERSION (includeguard)
#define TSXX_abort(M)
Abort and give a message.
virtual PDropContainer clone() const =0
DropContainer< Tvalue > * PDropContainer
virtual PDropContainer clone() const
virtual void initializenext(const int &n)
DropContainer< Tvalue > * PDropContainer
virtual PDropContainer attach(const DropContainer &c)
virtual const Tseries::Tcoc & container() const
virtual void drop(const Tvalue &v)=0
this function accepts samples
virtual int downsampling_factor() const
virtual PDropContainer clone() const
virtual void initializenext(const int &n)=0
virtual ~PassDropContainer()
DropContainer< Tvalue > * PDropContainer
aff::Tsubscript Tsubscript
virtual int downsampling_factor() const
virtual ~FIRDropContainer()
DropContainer< Tvalue > * PDropContainer
virtual int downsampling_factor() const
virtual Tvalue gain() const
virtual ~SeriesDropContainer()
virtual void drop(const Tvalue &v)
this function accepts samples
virtual const Tseries::Tcoc & container() const
virtual int downsampling_factor() const
virtual void initializenext(const int &n)
ts::fir::FIRfilter< Tvalue > Tfirfilter
virtual void drop(const Tvalue &v)
this function accepts samples
DropDropContainer(const int &n)
All stuff in this library will be placed within namespace ts.
virtual Tvalue gain() const
all we need to implement FIR filters (prototypes)
virtual void drop(const Tvalue &v)
this function accepts samples
virtual Tvalue gain() const
#define TSXX_assert(C, M)
Check an assertion and report by throwing an exception.
DropContainer< Tvalue > * PDropContainer
const int decimation_factor
virtual ~DropDropContainer()
virtual PDropContainer attach(const Tbase &c)
virtual void initialize(const int &n)
initialize for n samples input
basic modules of time series library in C++ (prototypes)
PDropContainer attached() const
virtual void drop(const Tvalue &v)
this function accepts samples
FIRDropContainer(const std::string &name)
aff::Series< Tvalue > Tseries
virtual void initializenext(const int &n)
virtual PDropContainer clone() const
virtual void initializenext(const int &n)
virtual PDropContainer clone() const