#include <SimplePneumatic.h>
|
| | SimplePneumatic () |
| | Constructor. More...
|
| |
| | SimplePneumatic (DoubleSolenoid *newDouble) |
| | Constructor; configures this pneumatic as a double solenoid. More...
|
| |
| | SimplePneumatic (Solenoid *newSingle) |
| | Constructor; configures this pneumatic as a single solenoid. More...
|
| |
| void | set (DoubleSolenoid::Value value) |
| | Sets the value for this pneumatic; if it's a single solenoid, not kStop values are automatically adjusted. More...
|
| |
| void | set (int dir) |
| | Smart set – automatically converts from an integer to a DoubleSolenoid::Value. More...
|
| |
| void | setDouble (DoubleSolenoid *newDouble) |
| | Sets the solenoid as a double solenoid. More...
|
| |
| void | setSingle (Solenoid *newSingle) |
| | Sets the solenoid as a single solenoid. More...
|
| |
| ADBLib::SimplePneumatic::SimplePneumatic |
( |
| ) |
|
| ADBLib::SimplePneumatic::SimplePneumatic |
( |
DoubleSolenoid * |
newDouble | ) |
|
Constructor; configures this pneumatic as a double solenoid.
- Parameters
-
| newDouble | A pointer to a DoubleSolenoid object. |
| ADBLib::SimplePneumatic::SimplePneumatic |
( |
Solenoid * |
newSingle | ) |
|
Constructor; configures this pneumatic as a single solenoid.
- Parameters
-
| newSingle | A pointer to a solenoid object. |
| void ADBLib::SimplePneumatic::set |
( |
DoubleSolenoid::Value |
value | ) |
|
Sets the value for this pneumatic; if it's a single solenoid, not kStop values are automatically adjusted.
- Parameters
-
| value | A DoubleSolenoid::Value as defined by DoubleSolenoid |
| void ADBLib::SimplePneumatic::set |
( |
int |
dir | ) |
|
Smart set – automatically converts from an integer to a DoubleSolenoid::Value.
- Parameters
-
| dir | The direction. Negative is reverse, 0 is off, and positive is forward. |
| void ADBLib::SimplePneumatic::setDouble |
( |
DoubleSolenoid * |
newDouble | ) |
|
Sets the solenoid as a double solenoid.
- Parameters
-
| newDouble | A pointer to a DoubleSolenoid. |
| void ADBLib::SimplePneumatic::setSingle |
( |
Solenoid * |
newSingle | ) |
|
Sets the solenoid as a single solenoid.
- Parameters
-
| newSingle | A pointer to a Solenoid. |
| DoubleSolenoid* ADBLib::SimplePneumatic::dPneumatic |
|
protected |
| bool ADBLib::SimplePneumatic::invert |
|
protected |
| Solenoid* ADBLib::SimplePneumatic::sPneumatic |
|
protected |
The documentation for this class was generated from the following files: