Woman, Life, Freedom


Adaptive AUTOSAR
ARA public interface header documentation
log_recovery_action.h
1#ifndef LOG_RECOVERY_ACTION_H
2#define LOG_RECOVERY_ACTION_H
3
4#include "../../ara/phm/recovery_action.h"
5#include "../../ara/log/logging_framework.h"
6
7namespace application
8{
9 namespace helper
10 {
13 {
14 private:
15 static const ara::core::InstanceSpecifier cInstance;
16 static const ara::log::LogMode cLogMode;
17 static const std::string cContextId;
18 static const std::string cContextDescription;
19 static const ara::log::LogLevel cErrorLevel;
20
21 ara::log::LoggingFramework *mLoggingFramework;
22 ara::log::Logger mLogger;
23
24 public:
26 ~LogRecoveryAction() override;
27
28 void RecoveryHandler(
29 const ara::exec::ExecutionErrorEvent &executionError,
30 ara::phm::TypeOfSupervision supervision) override;
31 };
32 }
33}
34
35#endif
A class to provide logging as the recovery action for a failed supervised entity.
Definition: log_recovery_action.h:13
void RecoveryHandler(const ara::exec::ExecutionErrorEvent &executionError, ara::phm::TypeOfSupervision supervision) override
Perform the action to handle the recovery.
Definition: log_recovery_action.cpp:19
AUTOSAR shortname-path wrapper.
Definition: instance_specifier.h:14
Logger of a specific context.
Definition: logger.h:12
Logging framework which links loggers to a log sink.
Definition: logging_framework.h:17
An abstract class to wrap the action for recovering a supervised entity.
Definition: recovery_action.h:24
AUTOSAR application namespace.
Definition: diag_message_handler.cpp:5
LogLevel
Log severity level.
Definition: common.h:13
LogMode
Log sink mode.
Definition: common.h:25
TypeOfSupervision
Supervision algorithm type.
Definition: recovery_action.h:14
Undefined Function Group State event argument.
Definition: execution_error_event.h:15