Larus glider flight sensor system 3.9.2024
Software-In-The-Loop test and validation system
Loading...
Searching...
No Matches
integrator< basetype, datatype > Class Template Reference

multi-dimensional integrator More...

#include <integrator.h>

Public Member Functions

 integrator (basetype Tintegrator, basetype Tsampling, const datatype &init_value=0)
 constructor taking Ti, Ts and initial values
 
 integrator (basetype Tsampling)
 constructor taking sampling-time only
 
const datatyperesponse (datatype &right)
 update integrator taking next input value
 
const datatypeget_value (void) const
 returns current output
 
datatype operator() (void) const
 cast to vector<size> returns current output
 
void set_value (const datatype &_value)
 set current output value
 

Detailed Description

template<class basetype, class datatype>
class integrator< basetype, datatype >

multi-dimensional integrator

Definition at line 32 of file integrator.h.

Constructor & Destructor Documentation

◆ integrator() [1/2]

template<class basetype , class datatype >
integrator< basetype, datatype >::integrator ( basetype  Tintegrator,
basetype  Tsampling,
const datatype init_value = 0 
)
inline

constructor taking Ti, Ts and initial values

Definition at line 36 of file integrator.h.

◆ integrator() [2/2]

template<class basetype , class datatype >
integrator< basetype, datatype >::integrator ( basetype  Tsampling)
inline

constructor taking sampling-time only

Definition at line 41 of file integrator.h.

Member Function Documentation

◆ get_value()

template<class basetype , class datatype >
const datatype & integrator< basetype, datatype >::get_value ( void  ) const
inline

returns current output

Definition at line 53 of file integrator.h.

Referenced by integrator< basetype, datatype >::operator()().

◆ operator()()

cast to vector<size> returns current output

Definition at line 59 of file integrator.h.

References integrator< basetype, datatype >::get_value().

◆ response()

template<class basetype , class datatype >
const datatype & integrator< basetype, datatype >::response ( datatype right)
inline

update integrator taking next input value

Definition at line 46 of file integrator.h.

◆ set_value()

template<class basetype , class datatype >
void integrator< basetype, datatype >::set_value ( const datatype _value)
inline

set current output value

Definition at line 65 of file integrator.h.


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