OpenWareLaboratory
SmoothStiffValue< T > Class Template Reference

Applies hysteresis and smoothing to a scalar. More...

Public Member Functions

getValue ()
 
 operator T ()
 
SmoothStiffValue< T > & operator*= (const T &other)
 
SmoothStiffValue< T > & operator+= (const T &other)
 
SmoothStiffValue< T > & operator-= (const T &other)
 
SmoothStiffValue< T > & operator/= (const T &other)
 
SmoothStiffValue< T > & operator= (const T &other)
 
void reset (T newValue)
 
 SmoothStiffValue ()
 
 SmoothStiffValue (T l, T d)
 
 SmoothStiffValue (T l, T d, T initialValue)
 
void update (T newValue)
 

Detailed Description

template<typename T>
class SmoothStiffValue< T >

Applies hysteresis and smoothing to a scalar.

Definition at line 120 of file SmoothValue.h.

Constructor & Destructor Documentation

template<typename T >
SmoothStiffValue< T >::SmoothStiffValue ( )
inline

Definition at line 127 of file SmoothValue.h.

template<typename T >
SmoothStiffValue< T >::SmoothStiffValue ( l,
d 
)
inline

Definition at line 128 of file SmoothValue.h.

template<typename T >
SmoothStiffValue< T >::SmoothStiffValue ( l,
d,
initialValue 
)
inline

Definition at line 130 of file SmoothValue.h.

Member Function Documentation

template<typename T >
T SmoothStiffValue< T >::getValue ( )
inline

Definition at line 136 of file SmoothValue.h.

Referenced by SmoothStiffValue< T >::operator T().

template<typename T >
SmoothStiffValue< T >::operator T ( )
inline

Definition at line 159 of file SmoothValue.h.

References SmoothStiffValue< T >::getValue().

template<typename T >
SmoothStiffValue<T>& SmoothStiffValue< T >::operator*= ( const T &  other)
inline

Definition at line 151 of file SmoothValue.h.

References SmoothStiffValue< T >::update().

template<typename T >
SmoothStiffValue<T>& SmoothStiffValue< T >::operator+= ( const T &  other)
inline

Definition at line 143 of file SmoothValue.h.

References SmoothStiffValue< T >::update().

template<typename T >
SmoothStiffValue<T>& SmoothStiffValue< T >::operator-= ( const T &  other)
inline

Definition at line 147 of file SmoothValue.h.

References SmoothStiffValue< T >::update().

template<typename T >
SmoothStiffValue<T>& SmoothStiffValue< T >::operator/= ( const T &  other)
inline

Definition at line 155 of file SmoothValue.h.

References SmoothStiffValue< T >::update().

template<typename T >
SmoothStiffValue<T>& SmoothStiffValue< T >::operator= ( const T &  other)
inline

Definition at line 139 of file SmoothValue.h.

References SmoothStiffValue< T >::update().

template<typename T >
void SmoothStiffValue< T >::reset ( newValue)
inline

Definition at line 133 of file SmoothValue.h.


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