Woman, Life, Freedom


Adaptive AUTOSAR
ARA public interface header documentation
ara::diag::debouncing::TimerBasedDebouncer Class Reference
Inheritance diagram for ara::diag::debouncing::TimerBasedDebouncer:
ara::diag::debouncing::Debouncer

Public Member Functions

 TimerBasedDebouncer (std::function< void(bool)> callback, TimeBased defaultValues)
 Constructor. More...
 
virtual void ReportPrepassed () override
 Report pre-passed of the monitored event. More...
 
virtual void ReportPassed () override
 Report finally passed of the monitored event. More...
 
virtual void ReportPrefailed () override
 Report pre-failed of the monitored event. More...
 
virtual void ReportFailed () override
 Report finally failed of the monitored event. More...
 
virtual void Freeze () override
 Freeze the debouncing mechanism. More...
 
virtual void Reset () override
 Reset the debouncing mechanism. More...
 

Additional Inherited Members

- Protected Member Functions inherited from ara::diag::debouncing::Debouncer
 Debouncer (std::function< void(bool)> callback)
 Constructor. More...
 
void SetEventStatus (EventStatus status)
 Set the monitored event status. More...
 

Constructor & Destructor Documentation

◆ TimerBasedDebouncer()

ara::diag::debouncing::TimerBasedDebouncer::TimerBasedDebouncer ( std::function< void(bool)>  callback,
TimeBased  defaultValues 
)

Constructor.

Parameters
callbackCallback to be triggered at the monitored event status change
defaultValuesTime-based debouncing default parameters

Member Function Documentation

◆ Freeze()

void ara::diag::debouncing::TimerBasedDebouncer::Freeze ( )
overridevirtual

Freeze the debouncing mechanism.

Implements ara::diag::debouncing::Debouncer.

◆ ReportFailed()

void ara::diag::debouncing::TimerBasedDebouncer::ReportFailed ( )
overridevirtual

Report finally failed of the monitored event.

Implements ara::diag::debouncing::Debouncer.

◆ ReportPassed()

void ara::diag::debouncing::TimerBasedDebouncer::ReportPassed ( )
overridevirtual

Report finally passed of the monitored event.

Implements ara::diag::debouncing::Debouncer.

◆ ReportPrefailed()

void ara::diag::debouncing::TimerBasedDebouncer::ReportPrefailed ( )
overridevirtual

Report pre-failed of the monitored event.

Implements ara::diag::debouncing::Debouncer.

◆ ReportPrepassed()

void ara::diag::debouncing::TimerBasedDebouncer::ReportPrepassed ( )
overridevirtual

Report pre-passed of the monitored event.

Implements ara::diag::debouncing::Debouncer.

◆ Reset()

void ara::diag::debouncing::TimerBasedDebouncer::Reset ( )
overridevirtual

Reset the debouncing mechanism.

Implements ara::diag::debouncing::Debouncer.