RCKit
|
Setter class that limits its output to between specified min and max values. More...
#include <Limiter.h>
Public Member Functions | |
Limiter (int min, int max) | |
virtual void | input (int value) |
![]() | |
Setter () | |
Constructor. More... | |
Setter (Setter *target) | |
Constructor with setting the target. | |
virtual void | setTarget (Setter *target) |
virtual void | failsafe () |
void | setFailsafeValue (int failsafeValue) |
Sets the failsafeValue. | |
int | failsafeValue () |
Additional Inherited Members | |
![]() | |
Setter * | _target |
This is the instance of Setter that will be given the transfotmed output value. | |
int | _failsafeValue |
Setter class that limits its output to between specified min and max values.
Limiter limits its output to between specified min and max values The resulting output value is sent to the next Setter (the target) in the chain.
Limiter::Limiter | ( | int | min, |
int | max | ||
) |
Constructor. All output values will be constrained to be within min to max (inclusive)
|
virtual |
Input the value to be inverted
[in] | value | The input value |
Reimplemented from Setter.
References Setter::input().