DEENESPTFRRUARHIKOZHNL

class ara::diag::DoIPActivationLine

[SWS_DM_00830] Upstream: RS_Diag_04242

class DoIPActivationLine {...};

DiagnosticDoIPActivationLineInterface.

Header-Datei#include "ara/diag/doip_activationline.h"
Forwarding-Header#include "ara/diag/diag_fwd.h"
Scopenamespace ara::diag

User GuideKI-GENERIERT

Dient der Übermittlung und Verwaltung des Zustands einer DoIP-Aktivierungsleitung an den Diagnostic Manager.
KI-GENERIERT ungeprüft Modell: gemini-3.8-flash-medium · Aufwand: medium · Temperatur: nicht steuerbar · Prompt: f91d71d289e3 Herkunft Offene Fragen (1)
KI-generiertgemini-3.8-flash-medium · 2026-10-13

Dient der Übermittlung und Verwaltung des Zustands einer DoIP-Aktivierungsleitung an den Diagnostic Manager.

Die Klasse ara::diag::DoIPActivationLine ermöglicht es einer Anwendung, den Zustand einer DoIP-Aktivierungsleitung bereitzustellen und Änderungen an den Diagnostic Manager zu übermitteln [SWS_DM_00830]. Nach der portbasierten Instanziierung wird der Dienst mittels Offer() aktiviert, woraufhin der DM Leitungsstatus und Netzwerk-ID abfragt und Statuswechsel über UpdateActivationLineState() entgegennimmt [SWS_DM_00834]. Als zentrale Randbedingung muss die zugehörige Netzwerkschnittstelle im Modell als aktivierungsleitungsabhängig konfiguriert sein [SWS_DM_00833].

Kontext

Die Klasse ara::diag::DoIPActivationLine repräsentiert die Schnittstelle DiagnosticDoIPActivationLineInterface gemäß [SWS_DM_00830]. Sie ermöglicht einer Adaptive Application (AA), den physikalischen oder logischen Zustand einer DoIP-Aktivierungsleitung an den Diagnostic Manager (DM) zu melden und bereitzustellen. Über diese Aktivierungsleitung steuert eine Anwendung indirekt das Aussenden von DoIP-Fahrzeug-Ankündigungsnachrichten (Vehicle Announcement Messages), wie in AUTOSAR_AP_SWS_Diagnostics, S. 107 spezifiziert, ohne den Versand explizit selbst zu triggern.

An der Interaktion sind im Wesentlichen drei Komponenten beteiligt: die implementierende Adaptive Application, die Instanz von ara::diag::DoIPActivationLine als Service-Schnittstelle sowie der Diagnostic Manager des Basissystems. Erkennt der DM über diese Schnittstelle eine Zustandsänderung der Aktivierungsleitung, benachrichtigt er abhängige Netzwerk-Schnittstellen und leitet standardisierte DoIP-Abläufe ein [SWS_DM_00816].

aa Adaptive Application line ara::diag::DoIPActivationLine aa->line Instanziierung / Offer() / UpdateActivationLineState() dm Diagnostic Management (DM) line->dm Zustandsbereitstellung dm->line GetActivationLineState() / GetNetworkInterfaceId()

Kontextdiagramm: Interaktionspartner der DoIP-Aktivierungsleitung zwischen Anwendung und Diagnostic Management. Quellen: [SWS_DM_00830], [SWS_DM_00816], AUTOSAR_AP_SWS_Diagnostics, S. 107.

Lebenszyklus

Eine Instanz von ara::diag::DoIPActivationLine wird über einen ara::core::InstanceSpecifier erzeugt, der auf einen PortPrototype verweist [SWS_DM_00831]. Die Klasse bildet eine eindeutige Instanz ab: Kopier- und Move-Konstruktoren sowie Kopier- und Move-Zuweisungsoperatoren sind gelöscht (=delete), wodurch ein Verschieben oder Duplizieren ausgeschlossen ist ([SWS_DM_01631], [SWS_DM_01632], [SWS_DM_01633], [SWS_DM_01634]).

Nach der Instanziierung befindet sich das Objekt im Zustand „nicht angeboten“. Durch den Aufruf von Offer() wird die Bereitstellung aktiviert, sodass der DM auf Zustandsänderungen der Aktivierungsleitung lauschen kann [SWS_DM_00836]. Mittels StopOffer() wird diese Bereitstellung wieder deaktiviert [SWS_DM_00837]. Der virtuelle Destruktor ist als Standarddestruktor deklariert und gibt die Ressourcen frei [SWS_DM_00832]. Bezüglich der Nebenläufigkeit sind der Konstruktor [SWS_DM_00831] sowie die reinen Leseabfragen GetActivationLineState() [SWS_DM_00835] und GetNetworkInterfaceId() [SWS_DM_00833] threadsicher ausgeführt, während Offer() [SWS_DM_00836], StopOffer() [SWS_DM_00837] und UpdateActivationLineState() [SWS_DM_00834] nicht threadsicher sind.

Nutzungspfad

Der reguläre Ablauf umfasst die Ableitung und Registrierung einer anwendungsspezifischen Klasse sowie die kontinuierliche Zustandsübermittlung:

  1. Instanziierung: Die Adaptive Application instanziiert die abgeleitete Klasse unter Angabe des passenden InstanceSpecifier [SWS_DM_00831].
  2. Dienst anbieten: Die Anwendung ruft Offer() auf, um die Schnittstelle für den DM freizugeben [SWS_DM_00836].
  3. Netzwerk- und Initialabfrage: Der DM ermittelt über die pure-virtual-Methode GetNetworkInterfaceId() die zugehörige Interface-ID [SWS_DM_00833] und fragt mit GetActivationLineState() den aktuellen Leitungszustand ab [SWS_DM_00835]. Beide Methoden liefern ein ara::core::Future zurück.
  4. Zustandsaktualisierung: Ändert sich der physikalische Zustand der Leitung (z. B. Pegelwechsel an einer Hardware-Leitung), informiert die Anwendung den DM synchron über UpdateActivationLineState() [SWS_DM_00834]. Dies veranlasst den DM zu Folgeaktionen wie Zustandsmeldungen an Netzwerk-Interfaces [SWS_DM_00816].
  5. Beendigung: Vor dem Herunterfahren oder bei Deaktivierung ruft die Anwendung StopOffer() auf [SWS_DM_00837].
Nutzungsablauf DoIPActivationLineAppDoIPActivationLineDiagnosticManagerUse Case: Initialisierung und RegistrierungDoIPActivationLine(specifier)Offer()Result<void>Use Case: Abfrage durch DMGetNetworkInterfaceId()Future<uint8_t>GetActivationLineState()Future<bool>Use Case: Ereignisgestützte AktualisierungUpdateActivationLineState(true)Statusänderung signalisierenUse Case: DeaktivierungStopOffer()

Sequenzdiagramm: Typischer Ablauf der Registrierung, Abfrage und Aktualisierung der Aktivierungsleitung. Quellen: [SWS_DM_00831], [SWS_DM_00833], [SWS_DM_00834], [SWS_DM_00835], [SWS_DM_00836], [SWS_DM_00837].

Fehlerszenarien

Beim Einsatz von ara::diag::DoIPActivationLine können funktionale und konfigurationsseitige Fehler auftreten:

  • Modell- und Portverletzungen bei Erzeugung: Der Konstruktor prüft die Gültigkeit des InstanceSpecifier [SWS_DM_00831]. Schlägt die Auflösung fehl, werden standardisierte Verletzungsmeldungen ausgelöst: InstanceSpecifierMappingIntegrityViolation (ungültiges Modellelement), PortInterfaceMappingViolation (Port nicht durch DiagnosticDoIPActivationLineInterface typisiert), ProcessMappingViolation (fehlender Prozessbezug) oder InstanceSpecifierAlreadyInUseViolation (Specifier innerhalb des Prozesses bereits vergeben).
  • Mehrfachanbieten: Wird Offer() aufgerufen, während der Dienst bereits angeboten wird, schlägt die Operation mit dem Fehlercode DiagOfferErrc::kAlreadyOffered fehl [SWS_DM_00836].
  • Konfigurationsinkonsistenz der Netzwerkschnittstelle: Meldet die Anwendung über GetNetworkInterfaceId() eine Interface-ID, deren zugehörige DoIpNetworkConfiguration die Eigenschaft isActivationLineDependent = 'FALSE' besitzt, gilt dies laut Spezifikation explizit als schwerwiegender Konfigurationsfehler [SWS_DM_00833].
  • Ausnahmesicherheit: Während der Konstruktor, die Getter, Offer(), StopOffer() und der Destruktor als ausnahmesicher (exception safe) spezifiziert sind, ist UpdateActivationLineState() explizit als nicht ausnahmesicher (not exception safe) ausgewiesen [SWS_DM_00834]. Fehler innerhalb dieses Aufrufs müssen von der aufrufenden Anwendung daher sorgfältig behandelt werden.

Dieser Leitfaden basiert ausschließlich auf den Spezifikationsvorgaben aus AUTOSAR AP Release R25-11.

Mitgliederkarte

Klassendiagramm

Hohle Dreieckspfeile = Vererbung (zeigt zur Basisklasse); Klicken öffnet die jeweilige Klassenseite.

G nara__diag__DoIPActivationLine856 DoIPActivationLine + DoIPActivationLine() + operator=() + ~DoIPActivationLine() + GetActivationLineState() + GetNetworkInterfaceId() + Offer() + StopOffer() + UpdateActivationLineState()

Detailansicht

Wähle in der Gliederung einen Eintrag aus.

Konstruktoren und Destruktor

Constructor of DoIPActivationLine.

Überladungen DoIPActivationLine 3
explicit DoIPActivationLine (const ara::core::InstanceSpecifier &specifier) noexcept; SWS_DM_00831
DoIPActivationLine (DoIPActivationLine &)=delete; SWS_DM_01633
DoIPActivationLine (DoIPActivationLine &&) noexcept=delete; SWS_DM_01634

Destructor of DoIPActivationLine.

virtual ~DoIPActivationLine () noexcept=default;

Methoden

Called to get the current activation line state.

virtual ara::core::Future< bool > GetActivationLineState () noexcept=0;

Called to get the network interface Id (see DoIpNetworkConfiguration. networkInterfaceId) for which this DoIPActivationLine instance is responsible.

virtual ara::core::Future< std::uint8_t > GetNetworkInterfaceId () noexcept=0;
Offer function

This Offer will enable the DM to listen to activation line state changes.

ara::core::Result< void > Offer () noexcept;
StopOffer function

This StopOffer will disable the provision of activation line state to DM.

void StopOffer () noexcept;

Called to update current activation line state.

void UpdateActivationLineState (bool activation_line_state);

Operatoren

operator= function 2

DoIPActivationLine shall be a single not assignable instance.

Überladungen = 2

Dokumentation der Methoden

function DoIPActivationLine [SWS_DM_00831] Upstream: RS_Diag_04242, RS_AP_00170, RS_AP_00171, RS_AP_00172, RS_AP_00173

explicit DoIPActivationLine (const ara::core::InstanceSpecifier &specifier) noexcept;

Constructor of DoIPActivationLine.

Header-Datei#include "ara/diag/doip_activationline.h"
Scopeclass ara::diag::DoIPActivationLine
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe
Verletzungen (Violations)InstanceSpeci- InstanceSpecifier either cannot be resolved in the model in the fierMappingIn- context of your executable, or it refers to a model element other tegrityViolation than a PortPrototype. PortInterfaceMap- A PortPrototype that is referenced by a pingViolation DiagnosticDoIpActivationLinePortMapping needs to be typed by a DiagnosticDoIPActivationLineInterface. ProcessMappingVio- Matching InstanceRef exists, but no matching (modelled) Process lation found that matches the (runtime) process. InstanceSpecifier- Violation message that is sent in case a constructor in the ara AlreadyInUseViola- framework was called with an InstanceSpecifier already in use in tion this process.

Parameter (in)

ParameterBeschreibung
specifierInstanceSpecifier to a PortPrototype of a DiagnosticDoIPActivationLineInterface

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_00831
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00831@rel:R25-11#0d357642
Content hash
0d357642
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00831
Status: valid/unmigrated Version: rel:R25-11#02e59d5a Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_00831@rel:R25-11#02e59d5a
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#0d3576422026-09-30
  • R19-11rel:R19-11#1fa409022026-10-14
  • R20-11rel:R20-11#69e772552026-10-14
  • R21-11rel:R21-11#a475004c2026-10-14
  • R22-11rel:R22-11#c63185452026-10-14
  • R23-11rel:R23-11#2968f9562026-10-14
  • R24-11rel:R24-11#9847f0762026-10-14
  • R25-11rel:R25-11#02e59d5a2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function DoIPActivationLine [SWS_DM_01633] Upstream: RS_AP_00147

DoIPActivationLine (DoIPActivationLine &)=delete;

DoIPActivationLine shall be a single not copy-able instance.

Header-Datei#include "ara/diag/doip_activationline.h"
Scopeclass ara::diag::DoIPActivationLine

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_01633
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01633@rel:R25-11#2af8a7bb
Content hash
2af8a7bb
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01633
Status: valid/unmigrated Version: rel:R25-11#af888c8e Versionshistorie & Revisions (1 transition, 4 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_01633@rel:R25-11#af888c8e
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#2af8a7bb2026-09-30
  • R23-11rel:R23-11#4c32a80e2026-10-14
  • R24-11rel:R24-11#af888c8e2026-10-14
  • R25-11rel:R25-11#af888c8e2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function DoIPActivationLine [SWS_DM_01634] Upstream: RS_AP_00147

DoIPActivationLine (DoIPActivationLine &&) noexcept=delete;

Move constructor of DoIPActivationLine.

Header-Datei#include "ara/diag/doip_activationline.h"
Scopeclass ara::diag::DoIPActivationLine

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_01634
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01634@rel:R25-11#73cbce7c
Content hash
73cbce7c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01634
Status: valid/unmigrated Version: rel:R25-11#1802a1ef Versionshistorie & Revisions (1 transition, 4 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_01634@rel:R25-11#1802a1ef
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#73cbce7c2026-09-30
  • R23-11rel:R23-11#2946af112026-10-14
  • R24-11rel:R24-11#1802a1ef2026-10-14
  • R25-11rel:R25-11#1802a1ef2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function GetActivationLineState [SWS_DM_00835] Upstream: RS_Diag_04242

virtual ara::core::Future< bool > GetActivationLineState () noexcept=0;

Called to get the current activation line state.

Header-Datei#include "ara/diag/doip_activationline.h"
Scopeclass ara::diag::DoIPActivationLine
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
ara::core::Future< bool >TRUE in case the activation line is active, else FALSE.

Fehler

FehlercodeBeschreibung
This function does not specify any standardized errors.

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_00835
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00835@rel:R25-11#aa66ee3b
Content hash
aa66ee3b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00835
Status: valid/unmigrated Version: rel:R25-11#cf922a21 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_00835@rel:R25-11#cf922a21
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#aa66ee3b2026-09-30
  • R19-11rel:R19-11#2d47c0942026-10-14
  • R20-11rel:R20-11#e6d4e1fb2026-10-14
  • R21-11rel:R21-11#e6d4e1fb2026-10-14
  • R22-11rel:R22-11#6873386f2026-10-14
  • R23-11rel:R23-11#d58b1d652026-10-14
  • R24-11rel:R24-11#dc8ab3bf2026-10-14
  • R25-11rel:R25-11#cf922a212026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function GetNetworkInterfaceId [SWS_DM_00833] Upstream: RS_Diag_04242

virtual ara::core::Future< std::uint8_t > GetNetworkInterfaceId () noexcept=0;

Called to get the network interface Id (see DoIpNetworkConfiguration. networkInterfaceId) for which this DoIPActivationLine instance is responsible.

Header-Datei#include "ara/diag/doip_activationline.h"
Scopeclass ara::diag::DoIPActivationLine
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
ara::core::Future<std::uint8_t >network interface id for which this activation line is responsible.

Fehler

FehlercodeBeschreibung
This function does not specify any standardized errors.
Hinweise: If the reported DoIpNetworkConfiguration.networkInterfaceId belongs to a DoIpNetworkConfiguration with property isActivationLineDependent = ’FALSE’, this is an error!

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_00833
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00833@rel:R25-11#4310a8ab
Content hash
4310a8ab
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00833
Status: valid/unmigrated Version: rel:R25-11#43f7d605 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_00833@rel:R25-11#43f7d605
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#4310a8ab2026-09-30
  • R19-11rel:R19-11#4310f8222026-10-14
  • R20-11rel:R20-11#545ef8b52026-10-14
  • R21-11rel:R21-11#545ef8b52026-10-14
  • R22-11rel:R22-11#6888adac2026-10-14
  • R23-11rel:R23-11#415a29a22026-10-14
  • R24-11rel:R24-11#a298c0c42026-10-14
  • R25-11rel:R25-11#43f7d6052026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function Offer [SWS_DM_00836] Upstream: RS_Diag_04242, RS_AP_00119

ara::core::Result< void > Offer () noexcept;

This Offer will enable the DM to listen to activation line state changes.

KI-GENERIERT ungeprüft Modell: gemini-3.8-flash-medium · Aufwand: medium · Temperatur: nicht steuerbar · Prompt: 3534ff4305bf Herkunft Offene Fragen (1)
KI-generiertgemini-3.8-flash-medium · 2026-10-13

Die synchrone Methode Offer der Klasse ara::diag::DoIPActivationLine ([SWS_DM_00836], Header-Datei #include "ara/diag/doip_activationline.h") versetzt das Diagnostic Management (DM) in die Lage, Statusänderungen der Aktivierungsleitung zu erfassen. Die Operation besitzt keine Übergabeparameter und meldet das Ergebnis über den Rückgabetyp ara::core::Result<void> zurück.

Sobald die Schnittstelle mittels Offer bereitgestellt wurde, überwacht der DM die Aktivierungsleitung. Erkennt der DM einen Übergang auf den Zustand „active“, veranlasst er das Senden von Fahrzeugankündigungsnachrichten (Vehicle Announcement Messages) gemäß ISO 13400-2 auf den betreffenden Netzwerkschnittstellen ([SWS_DM_00816], AUTOSAR_AP_SWS_Diagnostics §[SWS_DM_00816] S. 106). Interpretation: Der Aufruf von Offer dürfte typischerweise in der Initialisierungsphase der Anwendung erfolgen, damit Statuswechsel frühzeitig erfasst werden. Frage Q-254ced2fd3a1e3d2 (offen)

Im Fehlerfall wird ein entsprechender Fehlercode im Result zurückgegeben. Falls die Methode für dieselbe Instanz wiederholt aufgerufen wird, während der Dienst bereits angeboten ist, liefert sie den Fehlercode DiagOfferErrc::kAlreadyOffered mit Rollback-Semantik ([SWS_DM_00836]).

Hinsichtlich Nebenläufigkeit ist die Methode als nicht threadsicher (not thread-safe) spezifiziert ([SWS_DM_00836]). Zeitgleiche Aufrufe auf derselben Instanz müssen daher anwendungsseitig synchronisiert werden. Durch die Deklaration als noexcept ist die Funktion vollständig exception-safe ([SWS_DM_00836]).

Dieser Nutzungshinweis basiert auf der Spezifikation AUTOSAR Adaptive Platform Release R25-11.

Implementer's Guide folgt (Komplexität I2)

Header-Datei#include "ara/diag/doip_activationline.h"
Scopeclass ara::diag::DoIPActivationLine
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

Rückgabewert

TypBeschreibung
ara::core::Result< void >Returns nothing or an error.

Fehler

FehlercodeBeschreibung
DiagOfferErrc::kAlreadyOfferedrollback_semantics The service is already offered.

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_00836
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00836@rel:R25-11#94952ae8
Content hash
94952ae8
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00836
Status: valid/unmigrated Version: rel:R25-11#8f2ee357 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_00836@rel:R25-11#8f2ee357
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#94952ae82026-09-30
  • R19-11rel:R19-11#debb2b0e2026-10-14
  • R20-11rel:R20-11#db6aa10a2026-10-14
  • R21-11rel:R21-11#7e662f9a2026-10-14
  • R22-11rel:R22-11#b0dd4c452026-10-14
  • R23-11rel:R23-11#e3ff8ae12026-10-14
  • R24-11rel:R24-11#0d9d89c12026-10-14
  • R25-11rel:R25-11#8f2ee3572026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function StopOffer [SWS_DM_00837] Upstream: RS_Diag_04242

void StopOffer () noexcept;

This StopOffer will disable the provision of activation line state to DM.

KI-GENERIERT ungeprüft Modell: gemini-3.8-flash-medium · Aufwand: medium · Temperatur: nicht steuerbar · Prompt: 668b8f5f37f2 Herkunft Offene Fragen (1)
KI-generiertgemini-3.8-flash-medium · 2026-10-13

Die Methode ara::diag::DoIPActivationLine::StopOffer beendet die Bereitstellung des Zustands der DoIP-Aktivierungsleitung (Activation Line) gegenüber dem Diagnostic Management (DM) gemäß [SWS_DM_00837].

Die Funktion besitzt die Signatur void StopOffer() noexcept und wird synchron auf einer Instanz von ara::diag::DoIPActivationLine ausgeführt (AUTOSAR_AP_SWS_Diagnostics §5 „Overview“). Sie nimmt keine Parameter entgegen und liefert keinen Rückgabewert. Durch den Aufruf wird die aktive Übermittlung von Zustandsänderungen der Aktivierungslinie an den Diagnostic Manager deaktiviert.

Hinsichtlich der Fehlerbehandlung ist die Methode als exception safe spezifiziert und garantiert über noexcept, dass keine Ausnahmen geworfen werden ([SWS_DM_00837]). Da die Operation laut Spezifikation not thread-safe ist, dürfen Aufrufe auf derselben Instanz nicht ungeschützt nebenläufig aus mehreren Threads erfolgen; parallele Zugriffe erfordern zwingend eine anwendungsseitige Synchronisation.

Das Entwurfsmuster folgt der in der Adaptive-Plattform etablierten Nomenklatur für die Dienstbereitstellung (AUTOSAR_AP_SWS_Diagnostics §7.3.4.1.2 „Monitors“). Während StopOffer bei verwandten DoIP-Klassen wie ara::diag::DoIPGroupIdentification ([SWS_DM_00726]) oder ara::diag::DoIPPowerMode ([SWS_DM_00736]) das Weiterleiten eingehender DM-Anfragen deaktiviert, stoppt es hier spezifisch das Melden des Aktivierungsleitungszustands an das DM. Interpretation: Für einen konsistenten Betriebsablauf dürfte vorausgesetzt sein, dass vor dem Aufruf von StopOffer bereits eine Bereitstellung über dieselbe Instanz aktiv initiiert wurde. Frage Q-c5d38151ef8198e7 (offen)

Dieser Nutzungshinweis wurde von einer KI basierend auf der Spezifikation AUTOSAR R25-11 generiert.

Implementer's Guide folgt (Komplexität I2)

Header-Datei#include "ara/diag/doip_activationline.h"
Scopeclass ara::diag::DoIPActivationLine
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

Rückgabewert

TypBeschreibung
None

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_00837
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00837@rel:R25-11#a103f785
Content hash
a103f785
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00837
Status: valid/unmigrated Version: rel:R25-11#244dc5c1 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_00837@rel:R25-11#244dc5c1
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#a103f7852026-09-30
  • R19-11rel:R19-11#b476ed0b2026-10-14
  • R20-11rel:R20-11#cfbb794a2026-10-14
  • R21-11rel:R21-11#aa427ca72026-10-14
  • R22-11rel:R22-11#03b79a162026-10-14
  • R23-11rel:R23-11#4e8a10d62026-10-14
  • R24-11rel:R24-11#9c2fce6a2026-10-14
  • R25-11rel:R25-11#244dc5c12026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function UpdateActivationLineState [SWS_DM_00834] Upstream: RS_Diag_04242

void UpdateActivationLineState (bool activation_line_state);

Called to update current activation line state.

KI-GENERIERT ungeprüft Modell: gemini-3.8-flash-medium · Aufwand: medium · Temperatur: nicht steuerbar · Prompt: becd58166c09 Herkunft Offene Fragen (2)
KI-generiertgemini-3.8-flash-medium · 2026-10-13

Die Methode UpdateActivationLineState der Klasse ara::diag::DoIPActivationLine dient dazu, den aktuellen Status der DoIP-Aktivierungsleitung an das adaptive Diagnose-Management zu übermitteln [SWS_DM_00834] (AUTOSAR_AP_SWS_Diagnostics §8.32.1.1.3.5). Die Deklaration wird über die Header-Datei ara/diag/doip_activationline.h bereitgestellt.

Verwendung und Parameter:

  • Parameter: Der boolesche Übergabeparameter activation_line_state signalisiert dem System, ob die Aktivierungsleitung aktiv (TRUE) oder inaktiv (FALSE) ist [SWS_DM_00834].
  • Rückgabewert: Die Operation besitzt keinen Rückgabewert (void) und arbeitet synchron.

Nebenläufigkeit und Einschränkungen:

  • Thread-Sicherheit: Die Funktion ist explizit als not thread-safe spezifiziert [SWS_DM_00834]. Interpretation: Aufrufe an derselben Instanz von DoIPActivationLine müssen durch die aufrufende Anwendung synchronisiert werden, um Datenkonflikte zu vermeiden. Frage Q-d1c43b8ffc4bdcff (offen)
  • Fehlerbehandlung: Die Methode ist als not exception safe deklariert [SWS_DM_00834]. Spezifische Fehlercodes oder Ausnahmen sind nicht definiert; die aufrufende Applikation dürfte im Regelfall keine Ausnahmen abfangen können. Frage Q-394304b9d771cf69 (offen)

Dieser Text wurde von einer KI auf Basis der Spezifikation generiert.

Implementer's Guide folgt (Komplexität I1)

Header-Datei#include "ara/diag/doip_activationline.h"
Scopeclass ara::diag::DoIPActivationLine
Exception-Sicherheitnot exception safe
Thread-Sicherheitnot thread-safe

Parameter (in)

ParameterBeschreibung
activation_line_stateTRUE in case the activation line is active, else FALSE

Rückgabewert

TypBeschreibung
None

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_00834
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00834@rel:R25-11#adb4aebc
Content hash
adb4aebc
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00834
Status: valid/unmigrated Version: rel:R25-11#72b4970c Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_00834@rel:R25-11#72b4970c
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#adb4aebc2026-09-30
  • R19-11rel:R19-11#8dc119ec2026-10-14
  • R20-11rel:R20-11#2253aea22026-10-14
  • R21-11rel:R21-11#271c0ee82026-10-14
  • R22-11rel:R22-11#d0fcfa8e2026-10-14
  • R23-11rel:R23-11#500f07a82026-10-14
  • R24-11rel:R24-11#6f6ff0f32026-10-14
  • R25-11rel:R25-11#72b4970c2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function operator= [SWS_DM_01631] Upstream: RS_AP_00147

DoIPActivationLine & operator= (DoIPActivationLine &)=delete;

DoIPActivationLine shall be a single not assignable instance.

Header-Datei#include "ara/diag/doip_activationline.h"
Scopeclass ara::diag::DoIPActivationLine

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_01631
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01631@rel:R25-11#02e44c26
Content hash
02e44c26
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01631
Status: valid/unmigrated Version: rel:R25-11#901f299c Versionshistorie & Revisions (1 transition, 4 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_01631@rel:R25-11#901f299c
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#02e44c262026-09-30
  • R23-11rel:R23-11#88f27ae82026-10-14
  • R24-11rel:R24-11#901f299c2026-10-14
  • R25-11rel:R25-11#901f299c2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function operator= [SWS_DM_01632] Upstream: RS_AP_00147

DoIPActivationLine & operator= (DoIPActivationLine &&)=delete;

Move assignment operator of DoIPActivationLine.

Header-Datei#include "ara/diag/doip_activationline.h"
Scopeclass ara::diag::DoIPActivationLine

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_01632
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01632@rel:R25-11#f1dff05c
Content hash
f1dff05c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01632
Status: valid/unmigrated Version: rel:R25-11#e7735ad6 Versionshistorie & Revisions (1 transition, 4 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_01632@rel:R25-11#e7735ad6
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#f1dff05c2026-09-30
  • R23-11rel:R23-11#46070e9d2026-10-14
  • R24-11rel:R24-11#e7735ad62026-10-14
  • R25-11rel:R25-11#e7735ad62026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function ~DoIPActivationLine [SWS_DM_00832] Upstream: RS_Diag_04242, RS_AP_00134

virtual ~DoIPActivationLine () noexcept=default;

Destructor of DoIPActivationLine.

Header-Datei#include "ara/diag/doip_activationline.h"
Scopeclass ara::diag::DoIPActivationLine
Exception-Sicherheitexception safe

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_00832
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00832@rel:R25-11#2b5a4fc6
Content hash
2b5a4fc6
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00832
Status: valid/unmigrated Version: rel:R25-11#e7403097 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_00832@rel:R25-11#e7403097
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#2b5a4fc62026-09-30
  • R19-11rel:R19-11#dcbc6e5f2026-10-14
  • R20-11rel:R20-11#46022f492026-10-14
  • R21-11rel:R21-11#46022f492026-10-14
  • R22-11rel:R22-11#ba7198cc2026-10-14
  • R23-11rel:R23-11#2458401d2026-10-14
  • R24-11rel:R24-11#d06b38812026-10-14
  • R25-11rel:R25-11#e74030972026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill