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

#include <Convolution.h>

Public Member Functions

double calculate (void)
 
 Convolution (double _dt=0.005, unsigned int _range=0)
 
void reset (void)
 
void setup (double _dt, unsigned int _range)
 
void update (double _f, double _g)
 
 ~Convolution (void)
 

Private Attributes

long long buffer_size
 
double dt
 
std::deque< double > f_buffer
 
std::deque< double > g_buffer
 
Integrator integrator
 
unsigned int range
 

Detailed Description

Definition at line 17 of file Convolution.h.

Constructor & Destructor Documentation

Convolution::Convolution ( double  _dt = 0.005,
unsigned int  _range = 0 
)

Definition at line 14 of file Convolution.cpp.

Convolution::~Convolution ( void  )

Definition at line 19 of file Convolution.cpp.

Member Function Documentation

double Convolution::calculate ( void  )

Definition at line 50 of file Convolution.cpp.

void Convolution::reset ( void  )

Definition at line 22 of file Convolution.cpp.

void Convolution::setup ( double  _dt,
unsigned int  _range 
)

Definition at line 30 of file Convolution.cpp.

void Convolution::update ( double  _f,
double  _g 
)

Definition at line 38 of file Convolution.cpp.

Member Data Documentation

long long Convolution::buffer_size
private

Definition at line 31 of file Convolution.h.

double Convolution::dt
private

Definition at line 27 of file Convolution.h.

std::deque<double> Convolution::f_buffer
private

Definition at line 29 of file Convolution.h.

std::deque<double> Convolution::g_buffer
private

Definition at line 30 of file Convolution.h.

Integrator Convolution::integrator
private

Definition at line 32 of file Convolution.h.

unsigned int Convolution::range
private

Definition at line 28 of file Convolution.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