RCKit
Public Member Functions | List of all members
DifferentialLRSetter Class Reference

Setter class cluster that provides the left-right input to a DifferentialSetter. More...

#include <DifferentialSetter.h>

Inheritance diagram for DifferentialLRSetter:
Inheritance graph
[legend]
Collaboration diagram for DifferentialLRSetter:
Collaboration graph
[legend]

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
 

Detailed Description

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

Constructor & Destructor Documentation

◆ DifferentialLRSetter()

DifferentialLRSetter::DifferentialLRSetter ( DifferentialSetter target)
Parameters
targetThe DifferentialSetter whose inputB is to be set by this Setter
Author
Mike McCauley (mikem.nosp@m.@air.nosp@m.spayc.nosp@m.e.co.nosp@m.m)

Member Function Documentation

◆ input()

void DifferentialLRSetter::input ( int  value)
virtual
Parameters
valueThe left/right value (inputB) to set in the target DifferentialSetter

Reimplemented from Setter.

References Setter::_target.


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