37 #ifndef TF_FILTERBASE_H_VERSION 39 #define TF_FILTERBASE_H_VERSION \ 40 "TF_FILTERBASE_H V1.1" 45 #include<tfxx/handle.h> 46 #include<tfxx/error.h> 81 const bool& debug=
false)
const =0;
106 const bool& debug=
false)
const;
118 const bool& debug=
false)
const {
return s; }
124 typedef tfxx::error::Exception
Tbase;
128 const char* condition):
129 Tbase(message, file, line, condition) { }
130 virtual void report()
const;
140 const std::string& filter):
141 Tbase(message, file, line,
"filter type is unknown"),
144 virtual void report()
const;
153 #define TSXX_UnknownFilterAbort(M, F) \ 154 throw( ts::filter::UnknownFilterException ( M , __FILE__, __LINE__, F )) 156 #endif // TF_FILTERBASE_H_VERSION (includeguard) tfxx::Handle< BasicFilter > Tfilterhandle
handle to pass filters
Ttimeseries::Theader Theader
ts::filter::Tfilterhandle Tfilterhandle
ts::filter::Ttimeseries Ttimeseries
type of series container
Ttimeseries::Tseries Tseries
Ttimeseries::Theader Theader
BasicFilter()
Do not allow to use the baseclass alone.
Ttimeseries::Tvalue Tvalue
we always work in double precision
Ttimeseries operator()(const ts::TimeSeries< Tseries, H > &s) const
Ttimeseries::Tseries Tseries
time series with basic sampling interval header (prototypes)
Tfilterhandle::Tobject Tfilter
virtual void report() const
std::list< Tfilterhandle > Tfilterlist
Structure to hold the data samples of a series together with header information to form a time series...
Ttimeseries operator()(const Tseries &s, const Tvalue &dt) const
ts::TDtimeseries Ttimeseries
use double precision time series
All stuff in this library will be placed within namespace ts.
UnknownFilterException(const char *message, const char *file, const int &line, const std::string &filter)
Theader header
data header fields
Ttimeseries operator()(const ts::TimeSeries< Tseries, H > &s) const
virtual Ttimeseries operator()(const Ttimeseries &s, const bool &debug=false) const =0
Ttimeseries operator()(const Ttimeseries &s, const bool &debug=false) const
Ttimeseries operator()(const Tseries &s, const Tvalue &dt) const
virtual void report() const
Exception(const char *message, const char *file, const int &line, const char *condition)
virtual ~UnknownFilterException()
tfxx::error::Exception Tbase
double Tvalue
type of sample values
Ttimeseries operator()(const Ttimeseries &s, const bool &debug=false) const