DeepSpace  2019
Light Class Reference

#include <Light.h>

Inheritance diagram for Light:

Public Member Functions

 Light ()
 Class constructor. More...
 
void InitDefaultCommand () override
 Initalizes the default command for this subsystem (ControlLight) More...
 
void On ()
 
void Off ()
 

Private Attributes

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

Detailed Description

Definition at line 9 of file Light.h.

Constructor & Destructor Documentation

◆ Light()

Light::Light ( )

Class constructor.

Definition at line 3 of file Light.cpp.

Member Function Documentation

◆ InitDefaultCommand()

void Light::InitDefaultCommand ( )
override

Initalizes the default command for this subsystem (ControlLight)

Definition at line 7 of file Light.cpp.

◆ Off()

void Light::Off ( )

Definition at line 15 of file Light.cpp.

◆ On()

void Light::On ( )

Definition at line 11 of file Light.cpp.

Member Data Documentation

◆ pLight

frc::Solenoid* Light::pLight
private

Pointer to Solenoid.

Definition at line 18 of file Light.h.


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