|
RCKit
|
Class for testing Setters. Used by the sample TestSuite sketch. More...
#include <SetterDebug.h>


Public Member Functions | |
| virtual void | input (int value) |
| int | lastValue () |
| virtual void | failsafe () |
| boolean | failed () |
Public Member Functions inherited from Setter | |
| Setter () | |
| Constructor. More... | |
| Setter (Setter *target) | |
| Constructor with setting the target. | |
| virtual void | setTarget (Setter *target) |
| void | setFailsafeValue (int failsafeValue) |
| Sets the failsafeValue. | |
| int | failsafeValue () |
Additional Inherited Members | |
Protected Attributes inherited from Setter | |
| Setter * | _target |
| This is the instance of Setter that will be given the transfotmed output value. | |
| int | _failsafeValue |
Class for testing Setters. Used by the sample TestSuite sketch.
| boolean SetterDebug::failed | ( | ) |
Returns whether there has been a failsafe event
|
virtual |
Called when the source of input data is lost, and the Setter is required to fail in a safe way
Reimplemented from Setter.
References Setter::failsafeValue(), and input().
|
virtual |
Input the value to be inverted
| [in] | value | The input value |
Reimplemented from Setter.
Referenced by failsafe().
| int SetterDebug::lastValue | ( | ) |
Return the last value that was set here
1.8.17