WPILibC++ 2024.3.2
|
DigitalSource Interface. More...
#include <frc/DigitalSource.h>
Public Member Functions | |
DigitalSource ()=default | |
DigitalSource (DigitalSource &&)=default | |
DigitalSource & | operator= (DigitalSource &&)=default |
virtual HAL_Handle | GetPortHandleForRouting () const =0 |
virtual AnalogTriggerType | GetAnalogTriggerTypeForRouting () const =0 |
virtual bool | IsAnalogTrigger () const =0 |
virtual int | GetChannel () const =0 |
DigitalSource Interface.
The DigitalSource represents all the possible inputs for a counter or a quadrature encoder. The source may be either a digital input or an analog input. If the caller just provides a channel, then a digital input will be constructed and freed when finished for the source. The source can either be a digital input or analog trigger but not both.
|
default |
|
default |
|
pure virtual |
Implemented in frc::AnalogTriggerOutput, frc::DigitalInput, and frc::DigitalOutput.
|
pure virtual |
Implemented in frc::AnalogTriggerOutput, frc::DigitalInput, and frc::DigitalOutput.
|
pure virtual |
Implemented in frc::AnalogTriggerOutput, frc::DigitalInput, and frc::DigitalOutput.
|
pure virtual |
Implemented in frc::AnalogTriggerOutput, frc::DigitalInput, and frc::DigitalOutput.
|
default |