Public Member Functions | Private Attributes | List of all members
ButterworthFilter< T > Class Template Reference

#include <filters.h>

Inheritance diagram for ButterworthFilter< T >:
Inheritance graph
[legend]

Public Member Functions

 ButterworthFilter (int num_sample, T dt, T cutoff_frequency)
 
void clear ()
 
void input (T input_value)
 
output ()
 
 ~ButterworthFilter ()
 
- Public Member Functions inherited from Filter< T >
void add (const EventType &evt)
 
 Filter ()=default
 
virtual ~Filter ()=default
 
- Public Member Functions inherited from SimpleFilter< Msg >
const std::string & getName ()
 
Connection registerCallback (const boost::function< void(P)> &callback)
 
Connection registerCallback (const C &callback)
 
Connection registerCallback (void(*callback)(P))
 
Connection registerCallback (void(T::*callback)(P), T *t)
 
void setName (const std::string &name)
 

Private Attributes

int mCurIdx_
 
mCutoffFreq_
 
mDt_
 
int mNumSample_
 
T * mpBuffer_
 
mValue_
 

Additional Inherited Members

- Public Types inherited from Filter< T >
typedef ros::MessageEvent< Msg const > EventType
 
- Public Types inherited from SimpleFilter< Msg >
typedef boost::function< void(const MConstPtr &)> Callback
 
typedef boost::function< void(const EventType &)> EventCallback
 
typedef ros::MessageEvent< Msg const > EventType
 
typedef boost::shared_ptr< Msg const > MConstPtr
 
- Protected Member Functions inherited from SimpleFilter< Msg >
void signalMessage (const MConstPtr &msg)
 
void signalMessage (const ros::MessageEvent< Msg const > &event)
 

Detailed Description

template<typename T>
class ButterworthFilter< T >

Definition at line 51 of file filters.h.

Constructor & Destructor Documentation

◆ ButterworthFilter()

template<typename T >
ButterworthFilter< T >::ButterworthFilter ( int  num_sample,
dt,
cutoff_frequency 
)

Definition at line 81 of file filters.cpp.

◆ ~ButterworthFilter()

template<typename T >
ButterworthFilter< T >::~ButterworthFilter

Definition at line 94 of file filters.cpp.

Member Function Documentation

◆ clear()

template<typename T >
void ButterworthFilter< T >::clear
virtual

Implements Filter< T >.

Definition at line 126 of file filters.cpp.

◆ input()

template<typename T >
void ButterworthFilter< T >::input ( input_value)
virtual

Implements Filter< T >.

Definition at line 100 of file filters.cpp.

◆ output()

template<typename T >
T ButterworthFilter< T >::output
virtual

Implements Filter< T >.

Definition at line 120 of file filters.cpp.

Member Data Documentation

◆ mCurIdx_

template<typename T >
int ButterworthFilter< T >::mCurIdx_
private

Definition at line 62 of file filters.h.

◆ mCutoffFreq_

template<typename T >
T ButterworthFilter< T >::mCutoffFreq_
private

Definition at line 65 of file filters.h.

◆ mDt_

template<typename T >
T ButterworthFilter< T >::mDt_
private

Definition at line 64 of file filters.h.

◆ mNumSample_

template<typename T >
int ButterworthFilter< T >::mNumSample_
private

Definition at line 63 of file filters.h.

◆ mpBuffer_

template<typename T >
T* ButterworthFilter< T >::mpBuffer_
private

Definition at line 61 of file filters.h.

◆ mValue_

template<typename T >
T ButterworthFilter< T >::mValue_
private

Definition at line 66 of file filters.h.


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


rm_common
Author(s):
autogenerated on Thu Mar 6 2025 03:23:29