00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef _TABLE_H
00011 #define _TABLE_H
00012
00016 class Table: public TableBase
00017 {
00018 public:
00019 Table();
00021
00023
00024 void setThreshold( double v );
00025 double getThreshold() const;
00026
00028
00030
00031 void process( const Eref& e, ProcPtr p );
00032 void reinit( const Eref& e, ProcPtr p );
00033
00034 void input( double v );
00035 void spike( double v );
00036
00038
00040
00041 static const Cinfo* initCinfo();
00042 private:
00043 double threshold_;
00044 double lastTime_;
00045 double input_;
00046 };
00047
00048 #endif // _TABLE_H