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

#include <filters.h>

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

Public Member Functions

 AverageFilter (T dt, T t_const, T limit)
 
void clear ()
 
void input (T input_value)
 
output ()
 
 ~AverageFilter ()
 
- 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

dt_
 
est_value_
 
limit_
 
t_const_
 

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 AverageFilter< T >

Definition at line 191 of file filters.h.

Constructor & Destructor Documentation

◆ AverageFilter()

template<typename T >
AverageFilter< T >::AverageFilter ( dt,
t_const,
limit 
)

Definition at line 357 of file filters.cpp.

◆ ~AverageFilter()

template<typename T >
AverageFilter< T >::~AverageFilter

Definition at line 363 of file filters.cpp.

Member Function Documentation

◆ clear()

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

Implements Filter< T >.

Definition at line 369 of file filters.cpp.

◆ input()

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

Implements Filter< T >.

Definition at line 375 of file filters.cpp.

◆ output()

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

Implements Filter< T >.

Definition at line 386 of file filters.cpp.

Member Data Documentation

◆ dt_

template<typename T >
T AverageFilter< T >::dt_
private

Definition at line 202 of file filters.h.

◆ est_value_

template<typename T >
T AverageFilter< T >::est_value_
private

Definition at line 201 of file filters.h.

◆ limit_

template<typename T >
T AverageFilter< T >::limit_
private

Definition at line 204 of file filters.h.

◆ t_const_

template<typename T >
T AverageFilter< T >::t_const_
private

Definition at line 203 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