#include <Integrator.h>
Public Member Functions | |
double | calculate (void) |
Integrator (double _dt=0.005, unsigned int _range=0) | |
void | reset (void) |
void | setup (double _dt, unsigned int _range) |
void | update (double _x) |
~Integrator (void) | |
Private Attributes | |
std::deque< double > | buffer |
double | dt |
double | first |
bool | init_integration_flag |
double | last |
unsigned int | range |
double | sum |
Definition at line 17 of file Integrator.h.
Integrator::Integrator | ( | double | _dt = 0.005 , |
unsigned int | _range = 0 |
||
) |
Definition at line 16 of file Integrator.cpp.
Definition at line 20 of file Integrator.cpp.
double Integrator::calculate | ( | void | ) |
Definition at line 65 of file Integrator.cpp.
Definition at line 23 of file Integrator.cpp.
void Integrator::setup | ( | double | _dt, |
unsigned int | _range | ||
) |
Definition at line 32 of file Integrator.cpp.
void Integrator::update | ( | double | _x | ) |
Definition at line 39 of file Integrator.cpp.
std::deque<double> Integrator::buffer [private] |
Definition at line 31 of file Integrator.h.
double Integrator::dt [private] |
Definition at line 27 of file Integrator.h.
double Integrator::first [private] |
Definition at line 28 of file Integrator.h.
bool Integrator::init_integration_flag [private] |
Definition at line 29 of file Integrator.h.
double Integrator::last [private] |
Definition at line 28 of file Integrator.h.
unsigned int Integrator::range [private] |
Definition at line 30 of file Integrator.h.
double Integrator::sum [private] |
Definition at line 28 of file Integrator.h.