DeepSpace  2019
Piston Class Reference

#include <Piston.h>

Inheritance diagram for Piston:

Public Member Functions

 Piston ()
 Class constructor. More...
 
void InitDefaultCommand () override
 Initalizes the default command for this subsystem (ControlPiston) More...
 
void Deploy ()
 Deploy the piston. More...
 
void Retract ()
 Retract the piston. More...
 

Private Attributes

frc::Solenoid * pSolenoid
 Pointer to Solenoid. More...
 

Detailed Description

Definition at line 9 of file Piston.h.

Constructor & Destructor Documentation

◆ Piston()

Piston::Piston ( )

Class constructor.

Definition at line 3 of file Piston.cpp.

Member Function Documentation

◆ Deploy()

void Piston::Deploy ( )

Deploy the piston.

Definition at line 11 of file Piston.cpp.

◆ InitDefaultCommand()

void Piston::InitDefaultCommand ( )
override

Initalizes the default command for this subsystem (ControlPiston)

Definition at line 7 of file Piston.cpp.

◆ Retract()

void Piston::Retract ( )

Retract the piston.

Definition at line 15 of file Piston.cpp.

Member Data Documentation

◆ pSolenoid

frc::Solenoid* Piston::pSolenoid
private

Pointer to Solenoid.

Definition at line 18 of file Piston.h.


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