Debouncing mechanism interface. More...
#include <debouncer.h>
Public Member Functions | |
| virtual void | ReportPrepassed ()=0 |
| Report pre-passed of the monitored event. More... | |
| virtual void | ReportPassed ()=0 |
| Report finally passed of the monitored event. More... | |
| virtual void | ReportPrefailed ()=0 |
| Report pre-failed of the monitored event. More... | |
| virtual void | ReportFailed ()=0 |
| Report finally failed of the monitored event. More... | |
| virtual void | Freeze ()=0 |
| Freeze the debouncing mechanism. More... | |
| virtual void | Reset ()=0 |
| Reset the debouncing mechanism. More... | |
Protected Member Functions | |
| Debouncer (std::function< void(bool)> callback) | |
| Constructor. More... | |
| void | SetEventStatus (EventStatus status) |
| Set the monitored event status. More... | |
Debouncing mechanism interface.
|
explicitprotected |
Constructor.
| callback | Callback to be triggered at the monitored event status change |
|
pure virtual |
Freeze the debouncing mechanism.
Implemented in ara::diag::debouncing::CounterBasedDebouncer, and ara::diag::debouncing::TimerBasedDebouncer.
|
pure virtual |
Report finally failed of the monitored event.
Implemented in ara::diag::debouncing::CounterBasedDebouncer, and ara::diag::debouncing::TimerBasedDebouncer.
|
pure virtual |
Report finally passed of the monitored event.
Implemented in ara::diag::debouncing::CounterBasedDebouncer, and ara::diag::debouncing::TimerBasedDebouncer.
|
pure virtual |
Report pre-failed of the monitored event.
Implemented in ara::diag::debouncing::CounterBasedDebouncer, and ara::diag::debouncing::TimerBasedDebouncer.
|
pure virtual |
Report pre-passed of the monitored event.
Implemented in ara::diag::debouncing::CounterBasedDebouncer, and ara::diag::debouncing::TimerBasedDebouncer.
|
pure virtual |
Reset the debouncing mechanism.
Implemented in ara::diag::debouncing::CounterBasedDebouncer, and ara::diag::debouncing::TimerBasedDebouncer.
|
protected |
Set the monitored event status.
| status | Monitored event new status |