RCKit
|
Setter class cluster that provides the left-right input to a DifferentialSetter. More...
#include <DifferentialSetter.h>
Public Member Functions | |
DifferentialLRSetter (DifferentialSetter *target) | |
virtual void | input (int value) |
Public Member Functions inherited from Setter | |
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 | |
Protected Attributes inherited from Setter | |
Setter * | _target |
This is the instance of Setter that will be given the transfotmed output value. | |
int | _failsafeValue |
Setter class cluster that provides the left-right input to a DifferentialSetter.
Looks like a conventional; setter, but sets the B input of a DifferentialSetter This is for setting the left-right inputs into a DifferentialSetter
DifferentialLRSetter::DifferentialLRSetter | ( | DifferentialSetter * | target | ) |
target | The DifferentialSetter whose inputB is to be set by this Setter |
|
virtual |
value | The left/right value (inputB) to set in the target DifferentialSetter |
Reimplemented from Setter.
References Setter::_target.