DEENESPTFRRUARHIKOZHNL

클래스 ara::idsm::ContextDataProvider

Diese Seite wurde vollständig KI-generiert auf Basis von SWS IntrusionDetectionSystemManager (R25-11) — kein offizieller AUTOSAR-Text und keine automatisch extrahierte API-Seite wie die übrigen Module. Als Interpretation gekennzeichnete Aussagen sind Schlussfolgerungen aus den Quellen.

Header: ara/idsm/context_data_provider.h · Spezifikationselemente: 10

사용자 가이드AI 생성

IdsM을 위한 애플리케이션별 컨텍스트 데이터의 제공 및 수정을 위한 인터페이스 역할을 합니다.
AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: f62ecfb74d6d 출처 열린 질문 (3)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

IdsM을 위한 애플리케이션별 컨텍스트 데이터의 제공 및 수정을 위한 인터페이스 역할을 합니다.

추상 클래스 ara::idsm::ContextDataProvider은 Intrusion Detection System Manager를 위한 컨텍스트 데이터의 애플리케이션별 제공 및 수정 역할을 합니다 [SWS_AIDSM_10500]. 애플리케이션은 이 클래스를 상속받아 콜백 ModifyContextData을 구현하고 메서드 Offer 및 StopOffer를 통해 IdsM에 대한 릴리스를 제어합니다 [SWS_AIDSM_10507]. 인스턴스는 복사할 수 없으며 핵심 메서드가 스레드 안전하지 않기 때문에 동시 액세스에는 외부 동기화가 필요할 것으로 추정됩니다(해석). 질문 (열림)

컨텍스트

ara::idsm::ContextDataProvider 클래스는 Intrusion Detection System Manager (IdsM) 서브시스템을 위한 컨텍스트 데이터의 제공 및 수정 역할을 합니다 [SWS_AIDSM_10500]. 보안 아키텍처 내에서 이 클래스는 보안 관련 애플리케이션과 IdsM 서비스 간의 인터페이스 역할을 합니다. 멤버 함수 ModifyContextData이 순수 가상 함수로 지정되어 있으므로 [SWS_AIDSM_10509], ContextDataProvider은 추상 기본 클래스를 나타냅니다. 애플리케이션은 보안 관련 이벤트 발생 시 특정 컨텍스트 데이터를 추가하기 위해 자체 구현을 파생합니다. 아키텍처 구성에 대한 바인딩은 모델링된 제공자 포트 [SWS_AIDSM_10501]에 대한 ara::core::InstanceSpecifier을 통해 수행됩니다.

수명 주기

인스턴스 생성은 포트 식별자(ara::core::InstanceSpecifier)와 버퍼 매개변수 additionalBytes 및 originalContextDataOffset를 지정하여 생성자를 통해 명시적으로 수행됩니다 [SWS_AIDSM_10501]. 이 생성자는 스레드 안전한 것으로 선언되어 있습니다 [SWS_AIDSM_10501]. 인터페이스 엔드포인트에 대한 명확한 소유권을 보장하기 위해 복사 생성자 [SWS_AIDSM_10504]와 복사 대입 연산자 [SWS_AIDSM_10506]는 모두 삭제되었습니다. 이동 시맨틱을 통한 인스턴스 전달이 가능합니다. 이동 생성자는 스레드 안전한 반면 [SWS_AIDSM_10503], rvalue 참조를 사용하는 대입 연산자 operator=는 스레드 안전하지 않은 것으로 정의되어 있습니다 [SWS_AIDSM_10505].

생성 후 인스턴스는 비활성 상태에 있습니다. Offer()을 명시적으로 호출해야만 등록이 활성화되고 IdsM이 ModifyContextData을 호출하도록 인가됩니다 [SWS_AIDSM_10507]. StopOffer()을 통해 이 인가를 언제든지 다시 철회할 수 있습니다 [SWS_AIDSM_10508]. 가상 소멸자 [SWS_AIDSM_10502]를 통해 객체를 파괴하기 전에 통상적인 관례에 따라 IdsM의 진행 중인 콜백을 적시에 중단하기 위해 StopOffer()을 호출해야 할 것으로 보입니다(해석). 질문 Q-ee65caee57919f00 (열림) 가상 소멸자는 스레드 안전하지 않은 것으로 명시되어 있습니다 [SWS_AIDSM_10502].

사용 경로

전형적인 사용 사례는 ContextDataProvider을 상속하고 메서드 ModifyContextData을 구현하는 애플리케이션별 클래스를 정의하는 것으로 시작됩니다 [SWS_AIDSM_10509]. 인스턴스화 후 애플리케이션은 IdsM에 컨텍스트 데이터를 제공하기 위해 Offer()을 호출합니다 [SWS_AIDSM_10507]. IdsM이 컨텍스트 데이터를 보완해야 하는 보안 이벤트를 등록하는 즉시, 서브시스템은 콜백 ModifyContextData를 호출합니다 [SWS_AIDSM_10509]. 이 메서드는 데이터 영역을 ara::core::Span<std::uint8_t>로 수신하고 식별자 EventIdType을 수신하여 버퍼 내용을 업데이트하고 실제 바이트 수를 ara::core::Result<std::size_t>로 반환합니다 [SWS_AIDSM_10509]. 데이터 제공을 종료해야 하는 경우 애플리케이션은 StopOffer()을 호출합니다 [SWS_AIDSM_10508].

컨텍스트 데이터 제공 흐름애플리케이션ContextDataProviderIdsMOffer()Result<void>ModifyContextData(contextData, event)Result<std::size_t>StopOffer()

시퀀스 다이어그램: Offer를 통한 활성화부터 콜백을 거쳐 StopOffer를 통한 비활성화까지의 애플리케이션, ContextDataProvider 및 IdsM 간 상호작용 순서. 출처: [SWS_AIDSM_10507], [SWS_AIDSM_10508], [SWS_AIDSM_10509]

오류 시나리오

인터페이스의 모든 메서드는 noexcept로 선언되어 있으며, 오류는 ara::core::Result 타입을 통해 반환됩니다. Offer() 호출은 ara::core::Result<void>을 반환하며 [SWS_AIDSM_10507], 서비스 제공 중 발생할 수 있는 오류를 포착하기 위해 애플리케이션에서 이를 확인해야 합니다. 프로바이더가 요청된 컨텍스트 데이터를 ModifyContextData에 기록할 수 없는 경우, 구현은 ara::core::Result<std::size_t>에 시스템별 오류를 보고할 것으로 보입니다(해석) [SWS_AIDSM_10509]. 질문 Q-585e19770d59309e (열림)

동시성과 관련하여 Offer() [SWS_AIDSM_10507], StopOffer() [SWS_AIDSM_10508], ModifyContextData() [SWS_AIDSM_10509], 대입 연산자 [SWS_AIDSM_10505] 및 소멸자 [SWS_AIDSM_10502]는 스레드 안전하지 않은 것으로 명시되어 있음에 유의해야 합니다. 외부 동기화 없이 여러 스레드에서 이러한 메서드를 병렬로 호출하면 데이터 레이스 및 예측할 수 없는 동작이 발생할 수 있습니다(해석). 질문 Q-80b83a52aba53d67 (열림)

이 가이드는 AUTOSAR 사양 R25-11을 기반으로 AI에 의해 생성되었습니다.

시놉시스

class ContextDataProvider {...};

멤버 맵

상세 보기

개요에서 항목을 선택하세요.

선언

class ContextDataProvider {...};

생성자 및 소멸자

오버로드 ContextDataProvider 3
ContextDataProvider(ContextDataProvider&& ra) noexcept; SWS_AIDSM_10503
ContextDataProvider(const ContextDataProvider&) noexcept = delete; SWS_AIDSM_10504
explicit ContextDataProvider(const ara::core::InstanceSpecifier& instance, std::size_t additionalBytes, std::size_t originalContextDataOffset) noexcept; SWS_AIDSM_10501
virtual ~ContextDataProvider() noexcept;

메서드

virtual ara::core::Result<std::size_t> ModifyContextData(ara::core::Span<std::uint8_t> contextData, EventIdType event) noexcept = 0;
Offer 함수
ara::core::Result<void> Offer() noexcept;
StopOffer 함수
void StopOffer() noexcept;

연산자

operator= 함수 2
오버로드 = 2
ContextDataProvider& operator=(const ContextDataProvider&) noexcept = delete; SWS_AIDSM_10506
ContextDataProvider& operator=(ContextDataProvider&& ra) noexcept; SWS_AIDSM_10505

메서드와 타입 문서

클래스 ContextDataProvider [SWS_AIDSM_10500]

class ContextDataProvider {...};
Headerara/idsm/context_data_provider.h

Klasse zum Bereitstellen von Kontextdaten für IdsM.

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

Record
AUTOSAR/AP/record/SWS_AIDSM_10500
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_AIDSM_10500@rel:R25-11#6cd0086d
Content hash
6cd0086d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_IntrusionDetectionSystemManager.pdf#nameddest=SWS_AIDSM_10500
Status: valid/unmigrated Version: rel:R25-11#99bacbf7 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_AIDSM_10500@rel:R25-11#99bacbf7
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#be52b4b12026-09-30
  • R23-11rel:R23-11#18cd8d552026-10-14
  • R24-11rel:R24-11#ec975c292026-10-14
  • R25-11rel:R25-11#99bacbf72026-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

함수 ContextDataProvider [SWS_AIDSM_10503]

ContextDataProvider(ContextDataProvider&& ra) noexcept;
Headerara/idsm/context_data_provider.h
Upstream-AnforderungRS_Ids_00200
Thread Safetythread-safe

Verschiebekonstruktor.

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

Record
AUTOSAR/AP/record/SWS_AIDSM_10503
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_AIDSM_10503@rel:R25-11#ac09e9b0
Content hash
ac09e9b0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_IntrusionDetectionSystemManager.pdf#nameddest=SWS_AIDSM_10503
Status: valid/unmigrated Version: rel:R25-11#7a327a2d 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_AIDSM_10503@rel:R25-11#7a327a2d
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#b6f5a52b2026-09-30
  • R23-11rel:R23-11#ba5a4f1d2026-10-14
  • R24-11rel:R24-11#2e23de432026-10-14
  • R25-11rel:R25-11#7a327a2d2026-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

함수 ContextDataProvider [SWS_AIDSM_10504]

ContextDataProvider(const ContextDataProvider&) noexcept = delete;
Headerara/idsm/context_data_provider.h
Upstream-AnforderungRS_Ids_00200

Kopierkonstruktor ist gelöscht.

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

Record
AUTOSAR/AP/record/SWS_AIDSM_10504
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_AIDSM_10504@rel:R25-11#ffb703f7
Content hash
ffb703f7
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_IntrusionDetectionSystemManager.pdf#nameddest=SWS_AIDSM_10504
Status: valid/unmigrated Version: rel:R25-11#a0fddec0 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_AIDSM_10504@rel:R25-11#a0fddec0
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#bb5011252026-09-30
  • R23-11rel:R23-11#2d05c2962026-10-14
  • R24-11rel:R24-11#a0fddec02026-10-14
  • R25-11rel:R25-11#a0fddec02026-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

함수 operator= [SWS_AIDSM_10506]

ContextDataProvider& operator=(const ContextDataProvider&) noexcept = delete;
Headerara/idsm/context_data_provider.h
Upstream-AnforderungRS_Ids_00200

Kopierzuweisung ist gelöscht.

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

Record
AUTOSAR/AP/record/SWS_AIDSM_10506
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_AIDSM_10506@rel:R25-11#8fef466e
Content hash
8fef466e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_IntrusionDetectionSystemManager.pdf#nameddest=SWS_AIDSM_10506
Status: valid/unmigrated Version: rel:R25-11#631f28ec 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_AIDSM_10506@rel:R25-11#631f28ec
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#f3a5203b2026-09-30
  • R23-11rel:R23-11#8b204f842026-10-14
  • R24-11rel:R24-11#631f28ec2026-10-14
  • R25-11rel:R25-11#631f28ec2026-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

함수 operator= [SWS_AIDSM_10505]

ContextDataProvider& operator=(ContextDataProvider&& ra) noexcept;
Headerara/idsm/context_data_provider.h
Upstream-AnforderungRS_Ids_00200
Thread Safetynot thread-safe
RückgabeContextDataProvider&

Verschiebezuweisung.

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

Record
AUTOSAR/AP/record/SWS_AIDSM_10505
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_AIDSM_10505@rel:R25-11#e353d1f8
Content hash
e353d1f8
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_IntrusionDetectionSystemManager.pdf#nameddest=SWS_AIDSM_10505
Status: valid/unmigrated Version: rel:R25-11#a1175356 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_AIDSM_10505@rel:R25-11#a1175356
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#dba15f002026-09-30
  • R23-11rel:R23-11#9d5922752026-10-14
  • R24-11rel:R24-11#a11753562026-10-14
  • R25-11rel:R25-11#a11753562026-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

함수 ~ContextDataProvider [SWS_AIDSM_10502]

virtual ~ContextDataProvider() noexcept;
Headerara/idsm/context_data_provider.h
Upstream-AnforderungRS_Ids_00200
Thread Safetynot thread-safe

Virtueller Destruktor.

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

Record
AUTOSAR/AP/record/SWS_AIDSM_10502
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_AIDSM_10502@rel:R25-11#ccb47d3f
Content hash
ccb47d3f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_IntrusionDetectionSystemManager.pdf#nameddest=SWS_AIDSM_10502
Status: valid/unmigrated Version: rel:R25-11#823bf5fa 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_AIDSM_10502@rel:R25-11#823bf5fa
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#4cafc98b2026-09-30
  • R23-11rel:R23-11#983117c72026-10-14
  • R24-11rel:R24-11#823bf5fa2026-10-14
  • R25-11rel:R25-11#823bf5fa2026-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

함수 ContextDataProvider [SWS_AIDSM_10501]

explicit ContextDataProvider(const ara::core::InstanceSpecifier& instance, std::size_t additionalBytes, std::size_t originalContextDataOffset) noexcept;
Headerara/idsm/context_data_provider.h
Upstream-AnforderungRS_Ids_00200
Thread Safetythread-safe

Erzeugt einen ContextDataProvider für den modellierten Provider-Port.

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

Record
AUTOSAR/AP/record/SWS_AIDSM_10501
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_AIDSM_10501@rel:R25-11#fa1b6860
Content hash
fa1b6860
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_IntrusionDetectionSystemManager.pdf#nameddest=SWS_AIDSM_10501
Status: valid/unmigrated Version: rel:R25-11#938e7bec 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_AIDSM_10501@rel:R25-11#938e7bec
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#640b6adf2026-09-30
  • R23-11rel:R23-11#9a13a11b2026-10-14
  • R24-11rel:R24-11#f431ef902026-10-14
  • R25-11rel:R25-11#938e7bec2026-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

함수 ModifyContextData [SWS_AIDSM_10509]

virtual ara::core::Result<std::size_t> ModifyContextData(ara::core::Span<std::uint8_t> contextData, EventIdType event) noexcept = 0;
Headerara/idsm/context_data_provider.h
Upstream-AnforderungRS_Ids_00200
Thread Safetynot thread-safe
RückgabeResult<std::size_t>

Von IdsM aufgerufene abstrakte Funktion zum Ändern der Kontextdaten.

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 7746f9098d23 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

사용법 및 의미론

헤더 ara/idsm/context_data_provider.h의 순수 가상 함수 ModifyContextData은(는) 보안 이벤트에 대한 컨텍스트 데이터를 제공하거나 수정하기 위해 Intrusion Detection System Manager (IdsM)에 의해 호출됩니다 [SWS_AIDSM_10509]. 이 함수는 ara::core::Span<std::uint8_t> 유형의 쓰기 가능한 메모리 영역 contextData 및 EventIdType 유형의 이벤트 식별자 event을(를) 받습니다. 동기식 반환값으로는 ara::core::Result<std::size_t>이(가) 사용됩니다. 여기에 포함된 숫자 값은 버퍼에 실제로 기록된 바이트 수를 나타낼 것으로 추정됩니다. 질문 Q-cec3aee149140a4b (열림)

ERR HTTP Error 429: Too Many Requests

IdsM에 의한 호출은 Context-Data-Provider의 수명 주기 제어를 따릅니다:

  • 활성화: IdsM에 의한 ModifyContextData 호출은 Offer의 사전 호출을 통해서만 활성화됩니다 [SWS_AIDSM_10507].
  • 종료: StopOffer을(를) 사용하여 ModifyContextData의 IdsM 호출이 다시 차단됩니다 [SWS_AIDSM_10508].

오류 처리 및 동시성

이 함수는 noexcept(으)로 선언되어 있으며 예외를 발생시켜서는 안 됩니다 [SWS_AIDSM_10509]. 데이터 수정 중 오류가 발생하는 경우 이는 ara::core::Result의 오류 객체를 통해 다시 보고되어야 합니다. 인터페이스가 not thread-safe로 분류되어 있으므로 [SWS_AIDSM_10509], 버퍼나 내부 상태에 대한 동시 액세스가 발생하는 경우 구체적인 구현에서 적절한 동기화를 보장해야 합니다.

이 사용 지침은 사양 R25-11을 바탕으로 자동 생성되었습니다.

구현자 가이드 준비 중 (복잡도 I1)

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

Record
AUTOSAR/AP/record/SWS_AIDSM_10509
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_AIDSM_10509@rel:R25-11#360fd028
Content hash
360fd028
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_IntrusionDetectionSystemManager.pdf#nameddest=SWS_AIDSM_10509
Status: valid/unmigrated Version: rel:R25-11#25fa3f6d 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_AIDSM_10509@rel:R25-11#25fa3f6d
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#9ded85782026-09-30
  • R23-11rel:R23-11#ea652bc12026-10-14
  • R24-11rel:R24-11#a6261e1e2026-10-14
  • R25-11rel:R25-11#25fa3f6d2026-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

함수 Offer [SWS_AIDSM_10507]

ara::core::Result<void> Offer() noexcept;
Headerara/idsm/context_data_provider.h
Upstream-AnforderungRS_Ids_00200
Thread Safetynot thread-safe
RückgabeResult<void>

Ermöglicht IdsM-Aufrufe von ModifyContextData.

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 75af0d519faa 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

사용

매개변수가 없는 메서드 Offer()은(는) 헤더 ara/idsm/context_data_provider.h을(를) 통해 제공되며 ara::core::Result<void>을(를) 반환합니다 [SWS_AIDSM_10507]. noexcept 선언을 통해 호출자 측의 예외가 배제됩니다 [SWS_AIDSM_10507]. 성공적으로 호출되면 공급자가 Intrusion Detection System Manager(IdsM)에 등록되며, 이를 통해 비로소 이후 IdsM이 ModifyContextData 인터페이스를 호출할 수 있게 됩니다 [SWS_AIDSM_10507].

동시성 및 제약사항

스레딩과 관련하여 함수는 명시적으로 not thread-safe로 지정되어 있습니다 [SWS_AIDSM_10507]. 따라서 호출자는 실행이 직렬화되어 진행되고 경합 액세스가 발생하지 않도록 보장해야 합니다. 해석: 이 호출은 일반적으로 IdsM이 컨텍스트 데이터에 액세스하기 전인 시스템 초기화 단계 중에 수행될 것으로 보입니다. 질문 Q-fe72f4c02eb0e5ba (열림)

상호 작용

제공은 aidsm 모듈의 표준화된 Offer 패턴을 따릅니다. 유사한 인터페이스들이 추가 IdsM 기능을 활성화합니다:

  • ara/idsm/timestamp_provider.h의 Offer()은(는) GetTimestamp에 대한 IdsM 호출을 가능하게 합니다 [SWS_AIDSM_10408].
  • ara/idsm/qualified_events_receiver.h의 Offer()은(는) IdsM이 OnEventQualification을(를) 통해 전달할 수 있도록 허용합니다 [SWS_AIDSM_10808].

이 텍스트는 AI 시스템에 의해 생성되었으며 AUTOSAR Adaptive R25-11 사양을 기반으로 합니다.

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

Record
AUTOSAR/AP/record/SWS_AIDSM_10507
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_AIDSM_10507@rel:R25-11#f611a7e2
Content hash
f611a7e2
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_IntrusionDetectionSystemManager.pdf#nameddest=SWS_AIDSM_10507
Status: valid/unmigrated Version: rel:R25-11#2bfc261e 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_AIDSM_10507@rel:R25-11#2bfc261e
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#b3dfd7e72026-09-30
  • R23-11rel:R23-11#348ed0ee2026-10-14
  • R24-11rel:R24-11#426815cc2026-10-14
  • R25-11rel:R25-11#2bfc261e2026-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

함수 StopOffer [SWS_AIDSM_10508]

void StopOffer() noexcept;
Headerara/idsm/context_data_provider.h
Upstream-AnforderungRS_Ids_00200
Thread Safetynot thread-safe

Unterbindet IdsM-Aufrufe von ModifyContextData.

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: ca8d922661ce 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

사용

헤더 ara/idsm/context_data_provider.h의 함수 StopOffer은(는) 시그니처 void StopOffer() noexcept; [SWS_AIDSM_10508]을(를) 가집니다. 매개변수를 받지 않고 값을 반환하지 않으며 noexcept에 따라 예외를 발생시키지 않습니다. 이 함수의 주요 목적은 IdsM에 의한 향후 ModifyContextData 호출을 차단하는 것입니다 [SWS_AIDSM_10508].

동시성 및 제약사항

사양에 따라 StopOffer은(는) not thread-safe로 분류됩니다 [SWS_AIDSM_10508]. 따라서 동일한 인스턴스의 다른 연산과 동시에 호출되어서는 안 되며, 호출자는 액세스를 외부에서 동기화해야 합니다. 반환값이나 특정 오류 처리 메커니즘이 지정되어 있지 않으므로 제안 철회는 동기식으로 즉시 적용될 것으로 보입니다. 질문 Q-6c3920758ace96be (열림)

상호 작용

aidsm 모듈 내에서 StopOffer의 패턴은 유사한 공급자 및 수신자 인터페이스에 존재합니다. 이에 따라 헤더 ara/idsm/timestamp_provider.h의 StopOffer은(는) 향후 IdsM의 GetTimestamp [SWS_AIDSM_10409] 호출을 차단하는 반면, 헤더 ara/idsm/qualified_events_receiver.h의 동일한 이름의 메서드는 OnEventQualification 호출을 중지합니다 [SWS_AIDSM_10809]. 두 관련 함수 모두 동일한 시그니처를 가지며 마찬가지로 스레드 안전하지 않습니다.

이 텍스트는 AUTOSAR Adaptive R25-11을 기반으로 AI가 생성했습니다.

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

Record
AUTOSAR/AP/record/SWS_AIDSM_10508
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_AIDSM_10508@rel:R25-11#5b9c9cd3
Content hash
5b9c9cd3
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_IntrusionDetectionSystemManager.pdf#nameddest=SWS_AIDSM_10508
Status: valid/unmigrated Version: rel:R25-11#42c6d570 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_AIDSM_10508@rel:R25-11#42c6d570
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#f23158592026-09-30
  • R23-11rel:R23-11#2e5dbd3e2026-10-14
  • R24-11rel:R24-11#42c6d5702026-10-14
  • R25-11rel:R25-11#42c6d5702026-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