Public Member Functions | Protected Attributes
ChangeLimiter< Msg > Class Template Reference

#include <change_limiter.h>

List of all members.

Public Member Functions

void apply (const Msg *msg_in, Msg *msg_out)
 ChangeLimiter (double max_change_per_second, float Msg::*field_ptr)
void setMaxChange (double max_change_per_second)

Protected Attributes

float Msg::* field_
Msg last_msg_
double max_change_per_second_

Detailed Description

template<class Msg>
class ChangeLimiter< Msg >

Definition at line 30 of file change_limiter.h.


Constructor & Destructor Documentation

template<class Msg >
ChangeLimiter< Msg >::ChangeLimiter ( double  max_change_per_second,
float Msg::*  field_ptr 
) [inline]

Definition at line 33 of file change_limiter.h.


Member Function Documentation

template<class Msg >
void ChangeLimiter< Msg >::apply ( const Msg msg_in,
Msg msg_out 
) [inline]

Definition at line 38 of file change_limiter.h.

template<class Msg >
void ChangeLimiter< Msg >::setMaxChange ( double  max_change_per_second) [inline]

Definition at line 62 of file change_limiter.h.


Member Data Documentation

template<class Msg >
float Msg::* ChangeLimiter< Msg >::field_ [protected]

Definition at line 69 of file change_limiter.h.

template<class Msg >
Msg ChangeLimiter< Msg >::last_msg_ [protected]

Definition at line 70 of file change_limiter.h.

template<class Msg >
double ChangeLimiter< Msg >::max_change_per_second_ [protected]

Definition at line 68 of file change_limiter.h.


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


grizzly_motion
Author(s):
autogenerated on Thu Feb 11 2016 23:08:09