DEENESPTFRRUARHIKOZHNL
CLASSIC Modul: std Rolle: constitutive Konfidenz: 95%

SNIP_CLASSIC_STD_SECTION_8_1_3_Std_TransformerError

Quelle: SWS_StandardTypes.pdf (Seite 16) • Ziel-Anforderung: SWS_Std_00026

Wortlaut

8.1.3 Std_TransformerError The data type Std_TransformerError is a struct which contains the error code and the transformer class to which the error belongs. The data type Std_TransformerError shall be defined as follows: [SWS_Std_00021] Definition of datatype Std_TransformerError Upstream requirements: SRS_Xfrm_00004 ⌈ Name Std_TransformerError Kind Structure errorCode Type Std_TransformerErrorCode Comment The specific meaning of the values of Std_TransformerErrorCode is to be seen for the specific transformer chain for which the data type represents the transformer error. transformerClass Type Std_TransformerClass Elements Comment – Description Std_TransformerError represents a transformer error in the context of a certain transformer chain. Available via Std_Types.h ⌋ The values are specified for each transformer class in [26, ASWS Transformer General]. [SWS_Std_00022] Definition of datatype Std_TransformerErrorCode Upstream requirements: SRS_Xfrm_00004, SRS_Xfrm_00008 ⌈ Name Std_TransformerErrorCode Kind Type Derived from uint8 Range - – The values are specified for each transformer class in ASWS_ TransformerGeneral. Description The type of the Std_TransformerError. Available via Std_Types.h ⌋ The Std_TransformerClass represents the transformer class in which the error occurred. [SWS_Std_00023] Upstream requirements: SRS_Xfrm_00009, SRS_Xfrm_00008 ⌈The underlying data type of the type Std_TransformerClass shall be uint8.⌋ The type Std_TransformerClass shall be an enumeration with the following elements where each element represents a transformer class: [SWS_Std_00024] Definition of datatype Std_TransformerClass Upstream requirements: SRS_Xfrm_00004, SRS_Xfrm_00010 ⌈ Name Std_TransformerClass Kind Type Derived from uint8 STD_TRANSFORMER_ UNSPECIFIED 0x00 Transformer of a unspecified transformer class. STD_TRANSFORMER_ SERIALIZER 0x01 Transformer of a serializer class. STD_TRANSFORMER_ SAFETY 0x02 Transformer of a safety class. STD_TRANSFORMER_ SECURITY 0x03 Transformer of a security class. Range STD_TRANSFORMER_ CUSTOM 0xFF Transformer of a custom class not standardized by AUTOSAR. Description Std_TransformerClass is an enumeration where each element represents a transformer class. Available via Std_Types.h ⌋ [SWS_Std_00025] Upstream requirements: SRS_Xfrm_00004 ⌈The transformer class STD_TRANSFORMER_UNSPECIFIED shall be used if no transformer error occured.⌋ [SWS_Std_00026] Upstream requirements: SRS_Xfrm_00011 ⌈The mapping from transformerClass of TransformationTechnology to value of data type Std_TransformerClass shall be: • transformerClass serializer - STD_TRANSFORMER_SERIALIZER • transformerClass safety - STD_TRANSFORMER_SAFETY • transformerClass security - STD_TRANSFORMER_SECURITY • transformerClass custom - STD_TRANSFORMER_CUSTOM ⌋

Versionen & Provenienz · Zugeordnete Anforderungen

Diese Angaben zeigt der Versions-Explorer.

Begründung & Zuweisungs-Evidenz

Cited verbatim in the snippet (deterministic citation).

Dokumenten-Herkunft & Rückverfolgbarkeit

Spezifikations-Dokument SWS_StandardTypes.pdf
Dokumentseite Seite 16
Ziel-Modul std (classic)
Ziel-Anforderung SWS_Std_00026
Semantische Rolle constitutive
Automatisierungs-Konfidenz 0.95