Woman, Life, Freedom


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

Public Member Functions

 CounterBasedDebouncer (std::function< void(bool)> callback, CounterBased 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

◆ CounterBasedDebouncer()

ara::diag::debouncing::CounterBasedDebouncer::CounterBasedDebouncer ( std::function< void(bool)>  callback,
CounterBased  defaultValues 
)

Constructor.

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

Member Function Documentation

◆ Freeze()

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

Freeze the debouncing mechanism.

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

◆ ReportFailed()

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

Report finally failed of the monitored event.

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

◆ ReportPassed()

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

Report finally passed of the monitored event.

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

◆ ReportPrefailed()

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

Report pre-failed of the monitored event.

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

◆ ReportPrepassed()

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

Report pre-passed of the monitored event.

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

◆ Reset()

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

Reset the debouncing mechanism.

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