Public Member Functions | Private Attributes | List of all members
Integrator Class Reference

#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
 

Detailed Description

Definition at line 17 of file Integrator.h.

Constructor & Destructor Documentation

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.

Member Function Documentation

double Integrator::calculate ( void  )

Definition at line 65 of file Integrator.cpp.

void Integrator::reset ( void  )

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.

Member Data Documentation

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.


The documentation for this class was generated from the following files:


hrpsys
Author(s): AIST, Fumio Kanehiro
autogenerated on Thu May 6 2021 02:41:52