2023-Robot
Robot code for 2023 FRC season by Argos, FRC team #1756
|
#include <DebouncedButtonSet.h>
Public Member Functions | |
DebouncedButtonSet ()=delete | |
DebouncedButtonSet (DebouncedDigitalInput(&&buttons)[N]) | |
DebouncedButtonSet (const DebouncedButtonSet &)=delete | |
DebouncedButtonSet & | operator= (const DebouncedButtonSet &)=delete |
void | Initialize () |
void | Update () |
bool | GetValue (size_t idx) const |
bool | GetRawValue (size_t idx) const |
void | Reset (bool newValue=false) |
void | Reset (size_t idx, bool newValue=false) |
void | SetDebounceCount (size_t idx, uint16_t newCount) |
void | SetDebounceCount (uint16_t newCount) |
size_t | GetNumButtons () const |
Private Attributes | |
DebouncedDigitalInput | m_buttonSet [N] |
bool | m_initialized |
const size_t | m_numButtons |
|
delete |
|
inlineexplicit |
|
delete |
|
inline |
|
inline |
|
inline |
|
inline |
|
delete |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |