DeepSpace  2019
cCompressor Class Reference

A subsystem that interfaces with the robot's cCompressor. More...

#include <Compressor.h>

Inheritance diagram for cCompressor:

Public Member Functions

 cCompressor ()
 Class constructor. More...
 
void InitDefaultCommand () override
 Initalizes the default command for this subsystem (DriveWithJoystick) More...
 
void SetState (bool enabled)
 

Private Attributes

frc::Compressor * pCompressor
 

Detailed Description

A subsystem that interfaces with the robot's cCompressor.

Definition at line 10 of file Compressor.h.

Constructor & Destructor Documentation

◆ cCompressor()

cCompressor::cCompressor ( )

Class constructor.

Definition at line 4 of file Compressor.cpp.

Member Function Documentation

◆ InitDefaultCommand()

void cCompressor::InitDefaultCommand ( )
override

Initalizes the default command for this subsystem (DriveWithJoystick)

Definition at line 10 of file Compressor.cpp.

◆ SetState()

void cCompressor::SetState ( bool  enabled)

Pass data to cCompressor

Parameters
enabledBool to determine if the cCompressor should be enabled or not

Definition at line 14 of file Compressor.cpp.

Member Data Documentation

◆ pCompressor

frc::Compressor* cCompressor::pCompressor
private

Definition at line 23 of file Compressor.h.


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