A class that collects and reports supervision checkpoints. More...
#include <supervised_entity.h>
Public Member Functions | |
| SupervisedEntity (const core::InstanceSpecifier &instance, CheckpointCommunicator *communicator) | |
| Constructor. More... | |
| SupervisedEntity (SupervisedEntity &&se) noexcept | |
| SupervisedEntity (const SupervisedEntity &se)=delete | |
| SupervisedEntity & | operator= (const SupervisedEntity &se)=delete |
| template<typename EnumT > | |
| void | ReportCheckpoint (EnumT checkpointId) |
| Report a checkpoint to the PHM functional cluster. More... | |
A class that collects and reports supervision checkpoints.
| ara::phm::SupervisedEntity::SupervisedEntity | ( | const core::InstanceSpecifier & | instance, |
| CheckpointCommunicator * | communicator | ||
| ) |
Constructor.
| instance | Adaptive application instance that owns the entity |
| communicator | A communication medium for reporting the checkpoints |
|
inline |
Report a checkpoint to the PHM functional cluster.
| EnumT | Type of the checkpoint |
| checkpointId | ID of the checkpoint to be reported |