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::Convolution ( double  _dt = 0.005,
unsigned int  _range = 0 
)

Definition at line 14 of file Convolution.cpp.

◆ ~Convolution()

Convolution::~Convolution ( void  )

Definition at line 19 of file Convolution.cpp.

Member Function Documentation

◆ calculate()

double Convolution::calculate ( void  )

Definition at line 50 of file Convolution.cpp.

◆ reset()

void Convolution::reset ( void  )

Definition at line 22 of file Convolution.cpp.

◆ setup()

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

Definition at line 30 of file Convolution.cpp.

◆ update()

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

Definition at line 38 of file Convolution.cpp.

Member Data Documentation

◆ buffer_size

long long Convolution::buffer_size
private

Definition at line 31 of file Convolution.h.

◆ dt

double Convolution::dt
private

Definition at line 27 of file Convolution.h.

◆ f_buffer

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

Definition at line 29 of file Convolution.h.

◆ g_buffer

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

Definition at line 30 of file Convolution.h.

◆ integrator

Integrator Convolution::integrator
private

Definition at line 32 of file Convolution.h.

◆ range

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 Sat Dec 17 2022 03:52:21