include/integrator.h

00001 #ifndef __INTEGRATOR_H__
00002 #define __INTEGRATOR_H__
00003 
00004 #include "block.h"
00005 #include <deque>
00006 
00007 namespace DiscreteTimeSystems {
00008 
00009   class Integrator : public Block {
00010     
00011     std::deque<double> memory;
00012     
00013   public:
00014     Integrator(int n);
00015     
00016     virtual ~Integrator();
00017     
00021     virtual bool isStatefulBlock() { return true ;}
00022     
00026     virtual void updateState();
00027 
00031     virtual void updateOutput();
00032   };  
00033 }
00034 
00035 #endif

Generated on Tue Dec 4 16:12:27 2007 for Project by  doxygen 1.5.1