#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.
Integrator::~Integrator | ( | void | ) |
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.
Definition at line 32 of file Integrator.cpp.
void Integrator::update | ( | double | _x | ) |
Definition at line 39 of file Integrator.cpp.
|
private |
Definition at line 31 of file Integrator.h.
|
private |
Definition at line 27 of file Integrator.h.
|
private |
Definition at line 28 of file Integrator.h.
|
private |
Definition at line 29 of file Integrator.h.
|
private |
Definition at line 28 of file Integrator.h.
|
private |
Definition at line 30 of file Integrator.h.
|
private |
Definition at line 28 of file Integrator.h.