1#ifndef DTC_INFORMATION_H
2#define DTC_INFORMATION_H
7#include "../core/instance_specifier.h"
8#include "../core/result.h"
48 std::map<uint32_t, UdsDtcStatusByteType> mStatuses;
50 std::function<void(uint32_t)> mNumberOfStoredEntriesNotifier;
88 std::function<
void(uint32_t)> notifier);
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
ControlDtcStatusType
UDS Diagnostic Trouble Code (DTC) status byte updating state.
Definition: dtc_information.h:16
@ kDTCSettingOn
Enabled USD DTC status byte update.
@ kDTCSettingOff
Disable USD DTC status byte update.
UdsDtcStatusBitType
Specific bit flag of the UDS DTC status byte.
Definition: dtc_information.h:24
@ kWarningIndicatorRequested
Warning Indicator Requested (WIR)
@ kTestFailedSinceLastClear
DTC test is failed since the last error codes clearing.
@ kConfirmedDTC
DTC is confirmed at the request time.
@ kTestFailed
DTC test is failed at the request time.
@ kTestNotCompletedSinceLastClear
DTC test is not completed since the last error codes clearing.
@ kTestFailedThisOperationCycle
DTC test is failed at the current operation cycle.
@ kTestNotCompletedThisOperationCycle
DTC test is not completed at the current operation cycle.
@ kPendingDTC
DTC test is failed at the current/preivious operation cycle.
Byte that specifies an UDS DTC status.
Definition: dtc_information.h:37
uint8_t encodedBits
UDS DTC status byte containing the UdsDtcStatusBitType.
Definition: dtc_information.h:39