SNIP_ADAPTIVE_OS_SECTION_8_44_2_1_3_2_SetNotifier
Wortlaut
8.44.2.1.3.2 SetNotifier
[SWS_DM_00745] Definition of API function ara::diag::Indicator::SetNotifier
Status:
DRAFT
Upstream requirements: RS_AP_00139, RS_Diag_04204
⌈
Kind:
function
Header file:
#include "ara/diag/indicator.h"
Scope:
class ara::diag::Indicator
Syntax:
ara::core::Result< void > SetNotifier (std::function< void(Indicator
StatusType)> notifier) noexcept;
Parameters (in):
notifier
notifier function
Return value:
ara::core::Result< void >
--
Exception Safety:
exception safe
Thread Safety:
not thread-safe
Description:
Register a notifier function which is called if the indicator is updated. A consecutive call of this
method will overwrite the previous registered notifier.
⌋
8.44.2.1.3.3
operator=
[SWS_DM_01627] Definition of API function ara::diag::Indicator::operator=
Upstream requirements: RS_AP_00147
⌈
Kind:
function
Header file:
#include "ara/diag/indicator.h"
Scope:
class ara::diag::Indicator
Syntax:
Indicator & operator= (Indicator &)=delete;
▽
△
Description:
Indicator shall be a single not assignable instance.
⌋
Versionen & Provenienz · Zugeordnete Anforderungen
Diese Angaben zeigt der Versions-Explorer.
Begründung & Zuweisungs-Evidenz
IndicatorStatusTypeNotifier parameter type
Dokumenten-Herkunft & Rückverfolgbarkeit
| Spezifikations-Dokument | SWS_Diagnostics.pdf |
|---|---|
| Dokumentseite | Seite 633 |
| Ziel-Modul | diag (adaptive) |
| Ziel-Anforderung | SWS_DM_02129 |
| Semantische Rolle | heuristic |
| Automatisierungs-Konfidenz | 0.80 |