5#include "../core/instance_specifier.h"
6#include "../core/result.h"
7#include "./debouncing/counter_based_debouncer.h"
8#include "./debouncing/timer_based_debouncer.h"
52 void onEventStatusChanged(
bool passed);
AUTOSAR shortname-path wrapper.
Definition: instance_specifier.h:14
A wrapper around the callee's return value and its possible error.
Definition: result.h:16
Diagnostic event class that represents a fault path of a system.
Definition: event.h:52
A class to monitor the correct functionality of a system part.
Definition: monitor.h:40
void StopOffer()
Stop offering monitoring requests handling.
Definition: monitor.cpp:130
void AttachEvent(Event *event)
Attach an event to the monitor object.
Definition: monitor.cpp:101
core::Result< void > Offer()
Start offering monitoring requests handling.
Definition: monitor.cpp:106
void ReportMonitorAction(MonitorAction action)
Report a monitor action.
Definition: monitor.cpp:58
Debouncing mechanism interface.
Definition: debouncer.h:24
MonitorAction
Diagnostic monitor action type reported by an adpative application.
Definition: monitor.h:26
@ kFreezeDebouncing
Freeze the internal debouncing.
@ kResetDebouncing
Reset the internal debouncing.
@ kPassed
Monitoring passed.
@ kPrefailed
Monitoring pre-failed.
@ kResetTestFailed
Reset TestFailed bit in UDS DTC status.
@ kFailed
Monitoring failed.
@ kPrepassed
Monitoring pre-passed.
@ kFdcThresholdReached
Fault Detection Counter (FDC) threshold has been reached.
InitMonitorReason
Monitoring re-initialization reason.
Definition: monitor.h:17
@ kRestart
Operation cycle of the event was restarted.
@ kDisabled
Enable conditions (if set) are no longer fullfilled.
@ kReenabled
Enable conditions (if set) are fullfilled.
@ kClear
Event was cleared.
Contour-based debouncing parameters.
Definition: counter_based_debouncer.h:13
Time-based debouncing parameters.
Definition: timer_based_debouncer.h:16