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

#include <SparkLimitSwitch.h>

Public Member Functions

 SparkLimitSwitch (SparkLimitSwitch &&)=default
 
SparkLimitSwitchoperator= (SparkLimitSwitch &&)=default
 
 SparkLimitSwitch (const SparkLimitSwitch &)=default
 
virtual ~SparkLimitSwitch ()
 
virtual bool Get () const
 

Friends

class SparkBase
 

Constructor & Destructor Documentation

◆ SparkLimitSwitch() [1/2]

rev::spark::SparkLimitSwitch::SparkLimitSwitch ( SparkLimitSwitch &&  )
default

◆ SparkLimitSwitch() [2/2]

rev::spark::SparkLimitSwitch::SparkLimitSwitch ( const SparkLimitSwitch )
default

◆ ~SparkLimitSwitch()

virtual rev::spark::SparkLimitSwitch::~SparkLimitSwitch ( )
inlinevirtual

Member Function Documentation

◆ operator=()

SparkLimitSwitch & rev::spark::SparkLimitSwitch::operator= ( SparkLimitSwitch &&  )
default

◆ Get()

bool SparkLimitSwitch::Get ( ) const
virtual

Get the state of the limit switch, whether or not it is enabled (limiting the rotation of the motor).

Friends And Related Function Documentation

◆ SparkBase

friend class SparkBase
friend

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