REVLib - C++
rev::spark::SparkLimitSwitchSim Class Reference

#include <SparkLimitSwitchSim.h>

Public Member Functions

 SparkLimitSwitchSim (SparkMax *motor, bool forward)
 
 SparkLimitSwitchSim (SparkFlex *motor, bool forward)
 
void SetPressed (bool state)
 
bool GetPressed () const
 
bool GetEnabled () const
 

Constructor & Destructor Documentation

◆ SparkLimitSwitchSim() [1/2]

SparkLimitSwitchSim::SparkLimitSwitchSim ( SparkMax motor,
bool  forward 
)

◆ SparkLimitSwitchSim() [2/2]

SparkLimitSwitchSim::SparkLimitSwitchSim ( SparkFlex motor,
bool  forward 
)

Member Function Documentation

◆ SetPressed()

void SparkLimitSwitchSim::SetPressed ( bool  state)

◆ GetPressed()

bool SparkLimitSwitchSim::GetPressed ( ) const

◆ GetEnabled()

bool SparkLimitSwitchSim::GetEnabled ( ) const

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