An abstract class to wrap the action for recovering a supervised entity.
More...
#include <recovery_action.h>
An abstract class to wrap the action for recovering a supervised entity.
- Note
- The class is not fully aligned with the ARA standard.
- See also
- SupervisedEntity
◆ RecoveryAction()
Constructor.
- Parameters
-
instance | Adaptive application instance that owns the entity |
◆ IsOffered()
bool ara::phm::RecoveryAction::IsOffered |
( |
| ) |
const |
|
protectednoexcept |
Indicate whether the action has been already offered or not.
- Returns
- True if the action has been already offered; otherwise false
◆ Offer()
Start offering the recovery action.
- Returns
- Empty result in case of successful offering
◆ RecoveryHandler()
Perform the action to handle the recovery.
- Parameters
-
executionError | Occurred error while supervising |
supervision | Failed supervision algorithm type |
- Note
- The action should be offered beforehand to enable the invocation.
- See also
- Offer
Implemented in application::helper::LogRecoveryAction.
◆ StopOffer()
void ara::phm::RecoveryAction::StopOffer |
( |
| ) |
|
|
noexcept |
Stop offering the recovery action.