AI 생성미검증모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: aad9146dd3fe출처열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문
로깅 컨텍스트, 포맷된 메시지 스트림 생성 및 클라이언트 상태 모니터링을 지원합니다.
네임스페이스 ara::log는 컨텍스트 로거를 관리하고 DLT 백엔드 또는 콘솔과 같은 싱크로 형식화된 메시지 스트림을 출력하여 적응형 로깅 서비스를 제공합니다 [SWS_LOG_00021]. 애플리케이션은 팩토리 함수를 통해 로거를 획득하고, 인수 래퍼를 통해 포맷된 페이로드를 준비하며, 스레드 안전하게 로그 메시지에 데이터를 공급합니다. 필수적인 제약 조건으로서 모든 로거 인스턴스의 소유권은 프레임워크에 유지되는 반면, 연결 상태 핸들러의 등록은 명시적으로 스레드 안전하지 않습니다 [SWS_LOG_00205].
컨텍스트
네임스페이스 ara::log는 적응형 애플리케이션을 위한 중앙 로깅 인프라를 제공합니다. 핵심 책임에는 Logger 클래스를 통한 로깅 컨텍스트 관리, LogStream를 통한 구조화된 로그 메시지 생성, Argument 및 Format를 통한 포맷된 페이로드의 형식화된 전달이 포함됩니다. 프레임워크는 애플리케이션 측 로그 호출과 대상 싱크 간의 링크 역할을 합니다. 기본 싱크는 DLT 백엔드(Diagnostic Log and Trace)이며, 연결 상태는 열거형 ClientState를 통해 표현됩니다 [SWS_LOG_00098]. 사용 가능한 모델이 없는 경우 기본적으로 콘솔이 싱크 역할을 합니다 [SWS_LOG_00021]. 외부 원격 피어의 상태 변경은 ConnectionStateHandler 유형의 콜백 함수를 통해 모니터링할 수 있습니다 [SWS_LOG_00265].
Logger의 인스턴스는 애플리케이션에 의해 직접 생성되지 않고 팩토리 함수 CreateLogger에 의해 인스턴스화되어 로깅 프레임워크에 등록됩니다 [SWS_LOG_00021], [SWS_LOG_00263]. 소유권 관계는 명확히 정의되어 있습니다. 즉, 호출자에게 참조(Logger&)를 발행하는 로깅 프레임워크 내에 소유권이 완전히 유지됩니다(“Ownership stays within the Logging framework”) [SWS_LOG_00021]. 대안으로 ara::core::InstanceSpecifier를 기반으로 모델 기반 생성이 수행될 수 있습니다 [SWS_LOG_00256]. 해석: 프레임워크가 소유권을 유지하므로, 등록된 로거의 수명은 상위 프로세스에 바인딩될 것으로 추정됩니다. 질문 Q-4b81e462cf2e43b1 (열림)
동시성과 관련하여 CreateLogger를 통한 로거 생성은 스레드 안전한 것으로 명시되어 있습니다 [SWS_LOG_00021]. 반면 RegisterConnectionStateHandler를 통한 연결 상태 핸들러 등록은 명시적으로 스레드 안전하지 않으므로(“not thread-safe”) [SWS_LOG_00205], 일반적으로 동시 작업이 시작되기 전 초기화 단계 중에 수행되어야 합니다. 또한 항상 하나의 핸들러만 활성화될 수 있으며, 재등록 시 이전 콜백이 즉시 교체됩니다 [SWS_LOG_00205]. 외부 원격 피어의 연결 수명 주기는 kUnknown(DLT 백엔드가 아직 활성화되지 않음), kNotConnected 및 kConnected 단계를 거칩니다 [SWS_LOG_00098].
사용 경로
정규 흐름에는 모니터링 구성, 로거 획득 및 포맷된 메시지 출력이 포함됩니다:
RegisterConnectionStateHandler를 사용한 연결 콜백 등록 [SWS_LOG_00205].
컨텍스트 ID, 설명, 그리고 선택적으로 LogLevel의 기본 심각도(예: kWarn 또는 kInfo)를 지정하여 CreateLogger를 통해 Logger 참조 획득 [SWS_LOG_00018], [SWS_LOG_00021].
네임스페이스의 함수들은 대부분 noexcept로 선언되어 no-throw 보장을 제공하지만 엄격한 전제 조건 및 위반 규칙의 적용을 받습니다:
매니페스트 위반:CreateLogger(const ara::core::InstanceSpecifier&)를 통해 모델 기반으로 로거를 생성할 때 특정 런타임 위반이 발생할 수 있습니다: InstanceSpecifierMappingIntegrityViolation(지정자가 모델에서 확인되지 않거나 PortPrototype을 가리키지 않음), PortInterfaceMappingViolation(매핑 타입이 예상 PortInterface와 일치하지 않음), ProcessMappingViolation(일치하는 프로세스를 찾을 수 없음) 및 InstanceSpecifierAlreadyInUseViolation(지정자가 프로세스에서 이미 사용 중임) [SWS_LOG_00256].
유효하지 않은 인수 타이핑: 타입 T이 산술 타입도 아니고 bool도 아니며 ara::core::StringView 또는 ara::core::Span<const ara::core::Byte>로 변환될 수 없는 경우 Arg 호출은 문법적으로 잘못된(“ill-formed”) 것입니다. 마찬가지로 문자열, 바이트 스팬 또는 불리언 타입에 대해 nullptr와 다른 단위 텍스트 unit를 전달하면 오류가 발생합니다 [SWS_LOG_00201].
오류 표현: 콘솔에 core::ErrorCode 인스턴스를 출력할 때 오류 코드는 구현별로 포맷되며 도메인 이름(ErrorCode::Domain().Name())과 정수 오류 번호가 포함되어야 합니다 [SWS_LOG_00124].
이 가이드는 Adaptive Platform 릴리스 R25-11의 log 모듈 사양을 기반으로 합니다.
KI-gestützte Gruppierung auf Basis der Records und Spezifikationsauszüge; keine Gliederung aus der AUTOSAR-Spezifikation.
클래스 다이어그램
Abgerundete Rahmen = Namespace- bzw. Klassen-Scopes; hohle Dreieckspfeile = Vererbung (zeigt zur Basisklasse); graue Boxen = namespace-fremde bzw. externe Basisklassen. Klicken öffnet die jeweilige Klassen- bzw. cppreference-Seite.
Creates a Logger object, holding the context which is registered in the Logging framework. If no model is available the sink shall be the console per default.
Register a callback to be invoked whenever the connection state changes. Only a single function can be installed this way; if a callback was already registered before, only the newly registered one is used henceforth.
Create a wrapper object for the given arguments. Calling this function shall be ill-formed if any of these conditions are met: • T is not an arithmetic type and not "bool" and not convertible to "ara::core::StringView" and not convertible to "ara::core::Span<const ara::core::Byte>" • T is convertible to "ara::core::StringView" or convertible to "ara::core::Span<const ara::core::Byte>" or "bool", and "unit" is not "nullptr"
template <typename T> Argument< T > Arg (T &&arg, const char *name=nullptr, const char *unit=nullptr, Format format=Dflt()) noexcept;
= -1 DLT back-end not up and running yet, state cannot be determined.
kNotConnected
No remote client detected.
kConnected
Remote client is connected.
AI 생성미검증모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: b76d16a569dc출처열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문
열거형 ara::log::ClientState은 외부 클라이언트와 DLT 백엔드 간의 현재 연결 상태를 매핑합니다 [SWS_LOG_00098]. 이는 데이터 타입 std::int8_t에 기반하며, 헤더 파일 #include "ara/log/common.h" 또는 포워딩 헤더 #include "ara/log/log_fwd.h"를 통해 포함됩니다 [SWS_LOG_00098].
이 열거형은 주로 ara::log::RegisterConnectionStateHandler를 통해 등록되는 함수 콜백 ConnectionStateHandler(std::function<void(ClientState)>(으)로 정의됨)의 전달 매개변수로 사용됩니다 [SWS_LOG_00265]. 이 핸들러는 스레드 안전한 것으로 선언되어 있습니다 [SWS_LOG_00265]. 해석: 등록된 핸들러는 DLT 백엔드가 외부 클라이언트의 상태 변경을 감지하는 즉시 비동기적으로 호출될 것으로 보입니다. 질문 Q-b78ef73772a658a2 (열림)
이 텍스트는 AUTOSAR 사양 R25-11을 기반으로 AI에 의해 생성되었습니다.
구현자 가이드 준비 중 (복잡도 I1)
Request a governed re-review of this record. The record is not changed immediately.
AI 생성미검증모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 61bab347af38출처열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문
타입 별칭 ConnectionStateHandler은 log 모듈에서 연결 상태를 모니터링하기 위한 콜백 함수의 시그니처를 지정합니다 [SWS_LOG_00265]. 이는 네임스페이스 ara::log에 선언되어 있으며 헤더 파일 ara/log/logger.h의 포함을 필요로 합니다 [SWS_LOG_00265]. 함수 래퍼 std::function<void(ClientState)>로서 콜백 루틴은 발생한 연결 상태를 ClientState 타입의 파라미터를 통해 전달받으며 반환값을 제공하지 않습니다 [SWS_LOG_00265].
사용은 등록 함수 RegisterConnectionStateHandler을 통해 이루어집니다 [SWS_LOG_00205]. 핸들러의 상호 작용 및 수명 주기에는 다음과 같은 규정이 적용됩니다:
호출 시점: 등록된 콜백 함수는 클라이언트의 연결 상태가 변경될 때마다 호출됩니다 [SWS_LOG_00205].
독점성: 어느 시점에든 오직 하나의 핸들러만 활성 상태로 등록될 수 있습니다 [SWS_LOG_00205]. 이전에 이미 콜백이 등록된 경우, 새로 전달된 함수가 이를 완전히 대체하므로 이후에는 새 핸들러만 배타적으로 호출됩니다 [SWS_LOG_00205].
예외 안전성: 등록 함수 RegisterConnectionStateHandler은 noexcept(으)로 명시되어 있어 함수 콜백 전달이 예외 안전하게 수행됩니다 [SWS_LOG_00205].
동시성과 관련하여 이 사양 요소는 스레드 안전한 것으로 표시되어 있습니다 [SWS_LOG_00265]. 해석: 로깅 인프라에 의해 상태 변경이 잠재적으로 비동기적으로 신호될 수 있으므로, 핸들러에 제공된 애플리케이션 로직은 통신 컨텍스트를 방해하지 않도록 재진입 가능하도록 설계되어야 하며 블로킹 연산을 수행해서는 안 될 것으로 보입니다. 질문 Q-ca507d992cc31284 (열림)
이 사용 지침은 AUTOSAR 사양 R25-11을 기반으로 자동 생성되었습니다.
구현자 가이드 준비 중 (복잡도 I1)
Request a governed re-review of this record. The record is not changed immediately.
template <typename T> Argument< T > Arg (T &&arg, const char *name=nullptr, const char *unit=nullptr, Format format=Dflt()) noexcept;
Create a wrapper object for the given arguments. Calling this function shall be ill-formed if any of these conditions are met: • T is not an arithmetic type and not "bool" and not convertible to "ara::core::StringView" and not convertible to "ara::core::Span<const ara::core::Byte>" • T is convertible to "ara::core::StringView" or convertible to "ara::core::Span<const ara::core::Byte>" or "bool", and "unit" is not "nullptr"
Create a wrapper object for the given arguments. Calling this function shall be ill-formed if any of these conditions are met: • T is not an arithmetic type and not "bool" and not convertible to "ara::core::StringView" and not convertible to "ara::core::Span<const ara::core::Byte>" • T is convertible to "ara::core::StringView" or convertible to "ara::core::Span<const ara::core::Byte>" or "bool", and "unit" is not "nullptr"
Bestätige, dass der folgende Requirement-Text fachlich korrekt ist, zur genannten API gehört und ohne irreführende Importartefakte veröffentlicht werden kann.
Create a wrapper object for the given arguments. Calling this function shall be ill-formed if any of these conditions are met: • T is not an arithmetic type and not "bool" and not convertible to "ara::core::StringView" and not convertible to "ara::core::Span<const ara::core::Byte>" • T is convertible to "ara::core::StringView" or convertible to "ara::core::Span<const ara::core::Byte>" or "bool", and "unit" is not "nullptr"
Prüfkontext
Review-Grund
Legacy-Beschreibung prüfen
Warum ist ein Review nötig?
Der Beschreibungstext wurde aus einer älteren Dokumentationsquelle übernommen und konnte nicht mit hoher Sicherheit gegen die aktuelle Spezifikation verifiziert werden.
API-Element
function Arg [SWS_LOG_00201] Upstream: RS_LT_00003 , RS_LT_00046
Creates a Logger object, holding the context which is registered in the Logging framework. If no model is available the sink shall be the console per default.
Creates a Logger object, holding the context which is registered in the Logging framework. If no model is available the sink shall be the console per default.
Bestätige, dass der folgende Requirement-Text fachlich korrekt ist, zur genannten API gehört und ohne irreführende Importartefakte veröffentlicht werden kann.
Creates a Logger object, holding the context which is registered in the Logging framework. If no model is available the sink shall be the console per default.
Prüfkontext
Review-Grund
Legacy-Beschreibung prüfen
Warum ist ein Review nötig?
Der Beschreibungstext wurde aus einer älteren Dokumentationsquelle übernommen und konnte nicht mit hoher Sicherheit gegen die aktuelle Spezifikation verifiziert werden.
API-Element
function CreateLogger [SWS_LOG_00021] Upstream: RS_LT_00003 , RS_LT_00050
AI 생성미검증모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: d61f94356eb8출처
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문
사용
네임스페이스 ara::log의 CreateLogger 함수는 로깅 프레임워크 내에서 각각의 컨텍스트를 관리하는 Logger 객체를 생성하고 등록하는 역할을 합니다 [SWS_LOG_00021]. 호출 시 컨텍스트 식별자 ctxId, 텍스트 설명 ctxDescription 및 기본 로그 레벨 ctxDefLogLevel이 전달됩니다 [SWS_LOG_00021]. 모델을 사용할 수 없는 경우, 프레임워크는 출력을 싱크(sink)로서 콘솔로 기본 리디렉션합니다 [SWS_LOG_00021].
이 함수는 내부적으로 관리되는 인스턴스에 대한 참조 Logger &를 반환합니다. 이때 소유권(ownership)은 로깅 프레임워크에 완전히 유지됩니다 [SWS_LOG_00021].
동시성 및 실행 안전성
해당 인터페이스는 noexcept(으)로 선언되어 있으며, 예외 안전(exception safe) 및 스레드 안전(thread-safe) 모두로 명시되어 있습니다 [SWS_LOG_00021]. 따라서 여러 동시 스레드에서 안전하게 호출될 수 있습니다.
또한 Logger은 매니페스트의 ara::core::InstanceSpecifier을 통해 모델 기반으로 파생될 수 있습니다 [SWS_LOG_00256]. 이때 플랫폼은 InstanceSpecifierMappingIntegrityViolation 또는 PortInterfaceMappingViolation와 같은 오류를 검사합니다 [SWS_LOG_00256].
Creates a Logger object derived from the manifest.
AI 생성미검증모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 27922916bcc4출처
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문
동기 함수 CreateLogger은 매니페스트의 모델 데이터를 기반으로 내부적으로 관리되는 Logger 객체에 대한 참조를 생성하거나 반환합니다 [SWS_LOG_00256]. 호출 파라미터로는 실행 중인 프로세스의 컨텍스트에서 원하는 모델 요소를 식별하는 ara::core::InstanceSpecifier에 대한 참조가 사용됩니다 [SWS_LOG_00256].
이 함수는 noexcept(으)로 선언되어 있고, 예외 안전(exception safe)한 것으로 간주되며, 스레드 안전으로 명시되어 있어 재진입 및 동시 호출이 가능합니다 [SWS_LOG_00256]. 잘못된 구성이나 유효하지 않은 모델 컨텍스트에 대해 사양은 여러 위반(Violations)을 정의합니다 [SWS_LOG_00256]:
InstanceSpecifierMappingIntegrityViolation: InstanceSpecifier이 Executable의 컨텍스트에서 확인(resolve)될 수 없거나 PortPrototype 이외의 요소를 가리킬 때 발생합니다 [SWS_LOG_00256].
PortInterfaceMappingViolation: 매핑 타입이 포트 인터페이스의 예상 타입과 일치하지 않는 경우 트리거됩니다 [SWS_LOG_00256].
ProcessMappingViolation: 일치하는 InstanceRef이 존재하지만 모델링된 프로세스가 런타임 프로세스와 일치하지 않을 때 적용됩니다 [SWS_LOG_00256].
InstanceSpecifierAlreadyInUseViolation: 프레임워크의 생성자가 해당 프로세스에서 이미 사용 중인 식별자로 호출되었음을 알립니다 [SWS_LOG_00256].
컨텍스트 ID 및 설명 문자열을 통해 프로그래밍 방식으로 로거를 초기화하고 모델 부재 시 기본적으로 콘솔을 싱크로 사용하는 오버로드 [SWS_LOG_00021] 및 [SWS_LOG_00263]과 비교하여, 여기서는 구성이 완전히 매니페스트 기반으로 이루어집니다. 모든 변형에서 인스턴스의 소유권은 로깅 프레임워크 내에 유지됩니다 [SWS_LOG_00263].
이 텍스트는 AI에 의해 큐레이션되었으며 AUTOSAR 사양의 요구사항을 기반으로 합니다.
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- The type of mapping does not match the expected type of Port pingViolation Interface. 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.
Creates a Logger object, holding the context which is registered in the Logging framework. If no model is available the sink shall be the console per default.
AI 생성미검증모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: e7acfbf050b9출처
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문
네임스페이스 ara::log([SWS_LOG_00263])의 CreateLogger 함수는 AUTOSAR Adaptive의 로깅 프레임워크 내에서 컨텍스트에 바인딩된 Logger 객체를 생성하고 등록하는 역할을 합니다.
사용
헤더 파일 ara/log/logger.h을 통해 이 함수는 컨텍스트 식별자 ctxId 및 상세한 설명 ctxDescription을 각각 ara::core::StringView 타입으로 전달받습니다 [SWS_LOG_00263]. 반환값으로 이 호출은 생성된 Logger 객체의 내부적으로 관리되는 인스턴스에 대한 참조 Logger &를 반환합니다 [SWS_LOG_00263]. 이 인스턴스에 대한 소유권(Ownership)은 로깅 프레임워크에 영구적으로 유지되며 호출자에게 이전되지 않습니다 [SWS_LOG_00263]. 시스템에서 모델을 사용할 수 없는 경우, 콘솔이 모든 로깅 출력에 대한 싱크(Sink) 역할을 기본적으로 수행합니다 [SWS_LOG_00263].
오류 처리 및 동시성
해당 함수는 noexcept(으)로 명시되어 있고 예외 안전(exception safe)한 것으로 지정되어 있으므로, 호출에 대해 정의된 특정 오류 코드가 없으며 C++ 예외도 발생하지 않습니다 [SWS_LOG_00263]. 동시성과 관련하여 CreateLogger은(는) 스레드 안전(thread-safe)하므로, 외부 동기화 없이 여러 스레드에서 동시에 함수를 호출할 수 있습니다 [SWS_LOG_00263].
상호 작용
로깅 프레임워크는 밀접하게 관련된 오버로드를 제공합니다: 이 2개 파라미터 시그니처 외에도 한 오버로드는 ctxDefLogLevel([SWS_LOG_00021])을 통해 기본 로그 레벨의 추가 구성을 허용합니다. 또 다른 시그니처는 매니페스트에서 직접 ara::core::InstanceSpecifier을 통해 Logger 객체를 생성할 수 있도록 지원합니다([SWS_LOG_00256]).
Create a Format instance with Fmt::kDec formatting hint and default precision. .
Create a Format instance with Fmt::kDec formatting hint and default precision.
?Validate requirementfunction Dec [SWS_LOG_00211] Upstream: RS_LT_00046
Was muss freigegeben werden?
Bestätige, dass der folgende Requirement-Text fachlich korrekt ist, zur genannten API gehört und ohne irreführende Importartefakte veröffentlicht werden kann.
Create a Format instance with Fmt::kDec formatting hint and default precision.
Prüfkontext
Review-Grund
Legacy-Beschreibung prüfen
Warum ist ein Review nötig?
Der Beschreibungstext wurde aus einer älteren Dokumentationsquelle übernommen und konnte nicht mit hoher Sicherheit gegen die aktuelle Spezifikation verifiziert werden.
API-Element
function Dec [SWS_LOG_00211] Upstream: RS_LT_00046
Create a Format instance with Fmt::kDec formatting hint and given precision.
Create a Format instance with Fmt::kDec formatting hint and given precision.
?Validate requirementfunction Dec [SWS_LOG_00212] Upstream: RS_LT_00046
Was muss freigegeben werden?
Bestätige, dass der folgende Requirement-Text fachlich korrekt ist, zur genannten API gehört und ohne irreführende Importartefakte veröffentlicht werden kann.
Create a Format instance with Fmt::kDec formatting hint and given precision.
Prüfkontext
Review-Grund
Legacy-Beschreibung prüfen
Warum ist ein Review nötig?
Der Beschreibungstext wurde aus einer älteren Dokumentationsquelle übernommen und konnte nicht mit hoher Sicherheit gegen die aktuelle Spezifikation verifiziert werden.
API-Element
function Dec [SWS_LOG_00212] Upstream: RS_LT_00046
Bestätige, dass der folgende Requirement-Text fachlich korrekt ist, zur genannten API gehört und ohne irreführende Importartefakte veröffentlicht werden kann.
Create a Format instance with Fmt::kDefault formatting hint.
Prüfkontext
Review-Grund
Legacy-Beschreibung prüfen
Warum ist ein Review nötig?
Der Beschreibungstext wurde aus einer älteren Dokumentationsquelle übernommen und konnte nicht mit hoher Sicherheit gegen die aktuelle Spezifikation verifiziert werden.
API-Element
function Dflt [SWS_LOG_00208] Upstream: RS_LT_00046
Create a Format instance with Fmt::kEngFloat formatting hint and a precision that is sufficient for full round-trip safety. .
AI 생성미검증모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 728634d333ca출처열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문
사용
헤더 파일 ara/log/logger.h의 함수 ara::log::EngFloatMax()은(는) Format 타입의 인스턴스를 동기적으로 생성합니다 [SWS_LOG_00220]. 반환된 객체에는 공학 표기법으로 부동소수점을 출력하기 위한 서식 지정 힌트 Fmt::kEngFloat 및 완전한 왕복 변환(\"full round-trip safety\")에 충분한 정밀도가 포함되어 있습니다 [SWS_LOG_00220]. 이 함수는 매개변수를 받지 않습니다.
오류 처리
이 함수에는 지정자 noexcept이(가) 지정되어 있으며 예외 안전(exception safe)으로 정의되어 있습니다 [SWS_LOG_00220]. 특정 오류 코드는 존재하지 않으며 예외가 발생하지도 않고 진단 또는 오류 보고 인스턴스로 오류가 전송되지도 않습니다. 정상 작동 시 호출이 실패하지 않습니다.
동시성 및 제약사항
사양에서는 이 함수를 스레드 안전(thread-safe)으로 규정합니다 [SWS_LOG_00220]. constexpr(으)로 표시되어 있으므로 컴파일 시간에 호출이 평가될 수 있습니다. 해석: 사양에 사전 조건이 정의되어 있지 않고 함수가 무상태이므로 호출 컨텍스트에 대한 제한이나 로깅 인프라의 사전 초기화에 대한 종속성이 모두 없을 것으로 추정됩니다. 질문 Q-90c67bfad5b19641 (열림)
이 사용 지침은 AUTOSAR Adaptive R25-11 사양을 기반으로 AI에 의해 생성되었습니다.
Bestätige, dass der folgende Requirement-Text fachlich korrekt ist, zur genannten API gehört und ohne irreführende Importartefakte veröffentlicht werden kann.
Create a Format instance with Fmt::kHex formatting hint and default precision.
Prüfkontext
Review-Grund
Legacy-Beschreibung prüfen
Warum ist ein Review nötig?
Der Beschreibungstext wurde aus einer älteren Dokumentationsquelle übernommen und konnte nicht mit hoher Sicherheit gegen die aktuelle Spezifikation verifiziert werden.
API-Element
function Hex [SWS_LOG_00209] Upstream: RS_LT_00046
Bestätige, dass der folgende Requirement-Text fachlich korrekt ist, zur genannten API gehört und ohne irreführende Importartefakte veröffentlicht werden kann.
Create a Format instance with Fmt::kHex formatting hint and given precision.
Prüfkontext
Review-Grund
Legacy-Beschreibung prüfen
Warum ist ein Review nötig?
Der Beschreibungstext wurde aus einer älteren Dokumentationsquelle übernommen und konnte nicht mit hoher Sicherheit gegen die aktuelle Spezifikation verifiziert werden.
API-Element
function Hex [SWS_LOG_00210] Upstream: RS_LT_00046
Create a Format instance with Fmt::kHexFloat formatting hint and given precision.
AI 생성미검증모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 2ffe78f5109c출처
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문
도우미 함수 HexFloat은(는) [SWS_LOG_00221]에 따라 16진수 형식으로 출력하기 위한 부동소수점 수용 서식화 객체를 생성하는 데 사용됩니다. 이 함수는 서식화 힌트 Fmt::kHexFloat 및 지정된 정밀도가 설정된 Format 타입의 객체를 인스턴스화합니다.
사용법 및 매개변수
이 함수는 헤더 #include "ara/log/logger.h"을(를) 통해 네임스페이스 ara::log에서 제공됩니다 [SWS_LOG_00221]:
매개변수: 입력 매개변수로 std::uint16_t 타입의 precision이(가) 전달되며, 이는 원하는 출력 정밀도를 정의합니다 [SWS_LOG_00221].
반환값:Fmt::kHexFloat 접두사가 설정되어 초기화된 Format 객체 [SWS_LOG_00221].
실행:constexpr(으)로 지정됨에 따라 서식화 힌트의 생성은 런타임에 동기식으로 또는 이미 컴파일 타임에 수행될 수 있습니다 [SWS_LOG_00221].
오류 처리 및 동시성
해당 시그니처는 noexcept(으)로 선언되어 있으며 완전한 예외 안전성(exception safe)을 갖춘 것으로 간주됩니다 [SWS_LOG_00221]. 오류 코드나 특정 오류 메시지는 생성되지 않습니다. 이 함수는 스레드 안전(thread-safe)한 것으로 명시되어 있으며 별도의 동기화 오버헤드 없이 임의의 컨텍스트에서 병렬로 호출될 수 있습니다 [SWS_LOG_00221].
이 사용 지침은 AUTOSAR Adaptive R25-11 사양을 기반으로 자동 생성되었습니다.
Create a Format instance with Fmt::kHexFloat formatting hint and a precision that is sufficient for full round-trip safety. .
AI 생성미검증모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 98728cb410cd출처
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문
네임스페이스 ara::log의 함수 HexFloatMax은(는) 부동소수점 값의 형식화된 출력을 위한 Format 인스턴스를 생성하는 데 사용됩니다 [SWS_LOG_00222]. 헤더 파일 #include "ara/log/logger.h"을(를) 통해 제공되며 호출 매개변수를 받지 않습니다 [SWS_LOG_00222]. 동기 반환값으로 서식 지정 힌트 Fmt::kHexFloat이(가) 지정되고 완전한 라운드트립 안전성을 보장하는 정밀도를 갖춘 Format 인스턴스가 반환됩니다 [SWS_LOG_00222].
시그니처는 constexpr 및 noexcept(으)로 선언되어 있습니다 [SWS_LOG_00222]. 이를 통해 컴파일 시간에 평가할 수 있으며 실행 시 예외가 발생하지 않음을 보장합니다. 형식 객체의 생성이 항상 오류 없이 발생하므로 이 호출에 대해 특별한 오류 상태, 오류 코드 또는 오류 처리 메커니즘은 지정되지 않았습니다.
호출 컨텍스트 및 동시성과 관련하여, 이 함수는 예외 안전(exception safe) 및 스레드 안전(thread-safe)으로 지정되어 있습니다 [SWS_LOG_00222]. 순차적 호출 제한을 받지 않으며 추가 동기화 없이 임의의 스레드에서 안전하게 동시 호출할 수 있습니다.
Create a Format instance with Fmt::kOct formatting hint and default precision. .
Create a Format instance with Fmt::kOct formatting hint and default precision.
?Validate requirementfunction Oct [SWS_LOG_00213] Upstream: RS_LT_00046
Was muss freigegeben werden?
Bestätige, dass der folgende Requirement-Text fachlich korrekt ist, zur genannten API gehört und ohne irreführende Importartefakte veröffentlicht werden kann.
Create a Format instance with Fmt::kOct formatting hint and default precision.
Prüfkontext
Review-Grund
Legacy-Beschreibung prüfen
Warum ist ein Review nötig?
Der Beschreibungstext wurde aus einer älteren Dokumentationsquelle übernommen und konnte nicht mit hoher Sicherheit gegen die aktuelle Spezifikation verifiziert werden.
API-Element
function Oct [SWS_LOG_00213] Upstream: RS_LT_00046
AI 생성미검증모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 385124e3fb4e출처열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문
사용
함수 ara::log::Oct()은(는) 8진수 시스템의 로깅 출력을 위한 서식 지정 객체를 생성하는 도우미 함수 역할을 합니다 [SWS_LOG_00213]. 매개변수를 받지 않으며, 서식 지정 지침 Fmt::kOct 및 기본 정밀도로 구성된 Format 타입의 객체를 동기식으로 반환합니다 [SWS_LOG_00213]. 이 함수는 constexpr(으)로 선언되어 있으므로 컴파일 타임에 이미 인스턴스화가 수행될 수 있습니다. 해석: 반환된 Format 객체는 주로 로그 스트림에서 정수의 서식을 제어하기 위해 제공되는 것으로 보입니다. 질문 Q-3f4fe5ac42de16cb (열림)
오류 처리
이 함수는 예외 안전성(exception safe)을 보장하며 명시적으로 noexcept(으)로 선언되어 있습니다 [SWS_LOG_00213]. 런타임 오류 발생이나 예외 발생은 배제됩니다. 특정 오류 코드는 존재하지 않으며, DET 또는 DEM에 대한 알림은 전송되지 않습니다.
동시성 및 제약사항
Oct()의 호출은 제한 없이 스레드 안전(thread-safe)합니다 [SWS_LOG_00213]. 공유 상태를 수정하지 않으므로 재진입성이나 호출 컨텍스트에 대한 제한이 없으며 여러 스레드에서 병렬로 호출할 수 있습니다.
상호 작용
이 함수는 ara::log 네임스페이스에 정의되어 있으며 헤더 파일 #include "ara/log/logger.h"을 통해 제공됩니다 [SWS_LOG_00213]. 이 매개변수 없는 변형 외에도 다른 자릿수 정밀도를 지정할 수 있는 오버로드 Oct(std::uint16_t precision)이(가) 존재합니다 [SWS_LOG_00214].
Create a Format instance with Fmt::kOct formatting hint and given precision.
Create a Format instance with Fmt::kOct formatting hint and given precision.
?Validate requirementfunction Oct [SWS_LOG_00214] Upstream: RS_LT_00046
Was muss freigegeben werden?
Bestätige, dass der folgende Requirement-Text fachlich korrekt ist, zur genannten API gehört und ohne irreführende Importartefakte veröffentlicht werden kann.
Create a Format instance with Fmt::kOct formatting hint and given precision.
Prüfkontext
Review-Grund
Legacy-Beschreibung prüfen
Warum ist ein Review nötig?
Der Beschreibungstext wurde aus einer älteren Dokumentationsquelle übernommen und konnte nicht mit hoher Sicherheit gegen die aktuelle Spezifikation verifiziert werden.
API-Element
function Oct [SWS_LOG_00214] Upstream: RS_LT_00046
AI 생성미검증모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: acd78a533e1e출처
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문
사용
헬퍼 함수 ara::log::Oct은(는) ara::log 네임스페이스 내의 헤더 파일 #include "ara/log/logger.h"을(를) 통해 제공됩니다[SWS_LOG_00214]. 이는 서식 지정 힌트 Fmt::kOct 및 지정된 정밀도를 갖는 Format 유형의 인스턴스를 생성하는 데 사용됩니다[SWS_LOG_00214]. 입력 매개변수로 함수는 적용할 정밀도를 정의하는 부호 없는 16비트 정수 값 precision을(를) 받습니다[SWS_LOG_00214]. 함수는 동기식으로 작동하며 생성된 Format 인스턴스를 즉시 반환합니다[SWS_LOG_00214].
오류 처리 및 동시성
이 함수는 noexcept(으)로 선언되어 있으며 명시적으로 예외 안전(exception safe)으로 지정되어 있습니다[SWS_LOG_00214]. 특정 오류 코드나 오류 발생 시 DET 또는 DEM을 통한 알림은 존재하지 않습니다. 호출 컨텍스트 및 동시성과 관련하여 이 함수는 스레드 안전(thread-safe)으로 분류됩니다[SWS_LOG_00214]. 또한 constexpr(으)로 정의되어 있으므로 서식 지정 지시문의 생성이 이미 컴파일 타임에 수행될 수 있습니다[SWS_LOG_00214].
상호 작용
log 모듈 내에서 이 함수는 관련 오버로드 Oct()을(를) 보완합니다[SWS_LOG_00213]. 매개변수가 없는 변형이 기본 정밀도(default precision)를 갖는 Format 인스턴스를 생성하는 반면[SWS_LOG_00213], 본 함수는 8진수 서식 지정을 위한 사용자 정의 정밀도의 명시적 구성을 허용합니다[SWS_LOG_00214].
Register a callback to be invoked whenever the connection state changes. Only a single function can be installed this way; if a callback was already registered before, only the newly registered one is used henceforth.
Register a callback to be invoked whenever the connection state changes. Only a single function can be installed this way; if a callback was already registered before, only the newly registered one is used henceforth.
Bestätige, dass der folgende Requirement-Text fachlich korrekt ist, zur genannten API gehört und ohne irreführende Importartefakte veröffentlicht werden kann.
Register a callback to be invoked whenever the connection state changes. Only a single function can be installed this way; if a callback was already registered before, only the newly registered one is used henceforth.
Prüfkontext
Review-Grund
Legacy-Beschreibung prüfen
Warum ist ein Review nötig?
Der Beschreibungstext wurde aus einer älteren Dokumentationsquelle übernommen und konnte nicht mit hoher Sicherheit gegen die aktuelle Spezifikation verifiziert werden.
API-Element
function RegisterConnectionStateHandler [SWS_LOG_00205] Upstream: RS_LT_00003 , RS_LT_00050
AI 생성미검증모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 240d7b239d7a출처열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문
ara::log 네임스페이스의 RegisterConnectionStateHandler 함수는 연결 상태가 변경될 때마다 호출되는 애플리케이션 측 콜백 함수를 등록하는 데 사용됩니다 [SWS_LOG_00205]. 이 함수는 헤더 ara/log/logger.h에 선언되어 있습니다 [SWS_LOG_00205]. 매개변수로는 std::function<void(ClientState)>의 타입 별칭으로 명시된 ConnectionStateHandler 타입의 함수 객체 callback가 전달됩니다 [SWS_LOG_00205], [SWS_LOG_00265]. 반환값은 없습니다(void) [SWS_LOG_00205].
수명 주기 및 순서와 관련하여, 어느 시점에서든 단 하나의 상태 핸들러만 설치될 수 있도록 규정되어 있습니다 [SWS_LOG_00205]. 이전에 콜백 함수가 이미 등록된 경우 새로 호출할 때마다 기존 인스턴스를 완전히 덮어쓰므로 해당 시점부터는 가장 최근에 전달된 핸들러만 실행됩니다 [SWS_LOG_00205].
이 함수는 noexcept로 선언되어 있으며 예외 안전(“exception safe”)으로 명시되어 있습니다 [SWS_LOG_00205]. 특정 오류 코드, 오류 값 또는 오류/진단 모니터에 대한 알림은 명세에 정의되어 있지 않습니다 [SWS_LOG_00205].
동시성과 관련하여 RegisterConnectionStateHandler은(는) 명시적으로 스레드 안전하지 않음(“not thread-safe”)으로 분류됩니다 [SWS_LOG_00205]. 따라서 등록은 보호되지 않은 상태로 여러 스레드에서 동시에 호출되어서는 안 되며, 이상적으로는 초기화 단계 중에 수행되어야 합니다. 이와 대조적으로 타입 별칭 ConnectionStateHandler은(는) 스레드 안전한 것으로 명시되어 있습니다 [SWS_LOG_00265]. 해석: 이로부터 등록된 콜백은 상태 변경 시 내부 로깅 런타임 환경에 의해 동시 컨텍스트에서 잠재적으로 호출될 수 있음을 의미할 것입니다. 질문 Q-59eae7980ba48666 (열림)
이 텍스트는 AI에 의해 생성되었으며 AUTOSAR 릴리스 R25-11의 명세를 기반으로 합니다.
Bestätige, dass der folgende Requirement-Text fachlich korrekt ist, zur genannten API gehört und ohne irreführende Importartefakte veröffentlicht werden kann.
Appends LogLevel enum parameter as text into message.
Prüfkontext
Review-Grund
Legacy-Beschreibung prüfen
Warum ist ein Review nötig?
Der Beschreibungstext wurde aus einer älteren Dokumentationsquelle übernommen und konnte nicht mit hoher Sicherheit gegen die aktuelle Spezifikation verifiziert werden.
API-Element
function operator<< [SWS_LOG_00063] Upstream: RS_LT_00003 , RS_LT_00046
Write a core::ErrorCode instance into the message. When output to the console, the ErrorCode shall be shown in an implementation-defined way as a String holding the result of ErrorCode:Domain().Name() (i.e. the ErrorDomain’s Shortname), and the integral error code number.
Write a core::ErrorCode instance into the message. When output to the console, the ErrorCode shall be shown in an implementation-defined way as a String holding the result of ErrorCode:Domain().Name() (i.e. the ErrorDomain’s Shortname), and the integral error code number.
Bestätige, dass der folgende Requirement-Text fachlich korrekt ist, zur genannten API gehört und ohne irreführende Importartefakte veröffentlicht werden kann.
Write a core::ErrorCode instance into the message. When output to the console, the ErrorCode shall be shown in an implementation-defined way as a String holding the result of ErrorCode:Domain().Name() (i.e. the ErrorDomain’s Shortname), and the integral error code number.
Prüfkontext
Review-Grund
Legacy-Beschreibung prüfen
Warum ist ein Review nötig?
Der Beschreibungstext wurde aus einer älteren Dokumentationsquelle übernommen und konnte nicht mit hoher Sicherheit gegen die aktuelle Spezifikation verifiziert werden.
API-Element
function operator<< [SWS_LOG_00124] Upstream: RS_LT_00003 , RS_LT_00046
Bestätige, dass der folgende Requirement-Text fachlich korrekt ist, zur genannten API gehört und ohne irreführende Importartefakte veröffentlicht werden kann.
Write a std::chrono::duration instance into the message.
Prüfkontext
Review-Grund
Legacy-Beschreibung prüfen
Warum ist ein Review nötig?
Der Beschreibungstext wurde aus einer älteren Dokumentationsquelle übernommen und konnte nicht mit hoher Sicherheit gegen die aktuelle Spezifikation verifiziert werden.
API-Element
function operator<< [SWS_LOG_00125] Upstream: RS_LT_00049
Bestätige, dass der folgende Requirement-Text fachlich korrekt ist, zur genannten API gehört und ohne irreführende Importartefakte veröffentlicht werden kann.
Write a core::InstanceSpecifier into the message.
Prüfkontext
Review-Grund
Legacy-Beschreibung prüfen
Warum ist ein Review nötig?
Der Beschreibungstext wurde aus einer älteren Dokumentationsquelle übernommen und konnte nicht mit hoher Sicherheit gegen die aktuelle Spezifikation verifiziert werden.
API-Element
function operator<< [SWS_LOG_00126] Upstream: RS_LT_00049
Bestätige, dass der folgende Requirement-Text fachlich korrekt ist, zur genannten API gehört und ohne irreführende Importartefakte veröffentlicht werden kann.
Write a raw pointer into the message.
Prüfkontext
Review-Grund
Legacy-Beschreibung prüfen
Warum ist ein Review nötig?
Der Beschreibungstext wurde aus einer älteren Dokumentationsquelle übernommen und konnte nicht mit hoher Sicherheit gegen die aktuelle Spezifikation verifiziert werden.
API-Element
function operator<< [SWS_LOG_00127] Upstream: RS_LT_00049
gemini-3.8-flash-low· 2026-10-13 · 독일어 원문