Woman, Life, Freedom


Adaptive AUTOSAR
ARA public interface header documentation
ara::phm::SupervisedEntity Class Reference

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
 
SupervisedEntityoperator= (const SupervisedEntity &se)=delete
 
template<typename EnumT >
void ReportCheckpoint (EnumT checkpointId)
 Report a checkpoint to the PHM functional cluster. More...
 

Detailed Description

A class that collects and reports supervision checkpoints.

Note
The class is not fully compatible with the ARA standard.

Constructor & Destructor Documentation

◆ SupervisedEntity()

ara::phm::SupervisedEntity::SupervisedEntity ( const core::InstanceSpecifier instance,
CheckpointCommunicator communicator 
)

Constructor.

Parameters
instanceAdaptive application instance that owns the entity
communicatorA communication medium for reporting the checkpoints

Member Function Documentation

◆ ReportCheckpoint()

template<typename EnumT >
void ara::phm::SupervisedEntity::ReportCheckpoint ( EnumT  checkpointId)
inline

Report a checkpoint to the PHM functional cluster.

Template Parameters
EnumTType of the checkpoint
Parameters
checkpointIdID of the checkpoint to be reported