Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

useranalogfilter.h

Go to the documentation of this file.
00001 
00005 #ifndef _USERANALOGFILTER_H_
00006 #define _USERANALOGFILTER_H_
00007 
00008 #include "analogfilter.h"
00009 #include "csimclass.h"
00010 
00011 using namespace std;
00012 
00014 class UserAnalogFilter : public AnalogFilter {
00015 
00016   DO_REGISTERING
00017 
00018  public:
00023   UserAnalogFilter(unsigned int kernel_length=10, double *weights=0);
00024 
00025   ~UserAnalogFilter(void);
00026 
00031   void createKernel(unsigned int n);
00032 
00034   int updateInternal();
00035 
00037   double *m_weights;
00038 
00039  private:
00041   double m_sum_kernel;
00042 };
00043 
00044 #endif