|
| 1 | +.. |
| 2 | + # ******************************************************************************* |
| 3 | + # Copyright (c) 2025 Contributors to the Eclipse Foundation |
| 4 | + # |
| 5 | + # See the NOTICE file(s) distributed with this work for additional |
| 6 | + # information regarding copyright ownership. |
| 7 | + # |
| 8 | + # This program and the accompanying materials are made available under the |
| 9 | + # terms of the Apache License Version 2.0 which is available at |
| 10 | + # https://www.apache.org/licenses/LICENSE-2.0 |
| 11 | + # |
| 12 | + # SPDX-License-Identifier: Apache-2.0 |
| 13 | + # ******************************************************************************* |
| 14 | +
|
| 15 | +.. _component_detailed_design_template: |
| 16 | + |
| 17 | +Detailed Design |
| 18 | +############### |
| 19 | + |
| 20 | +.. document:: [Your Component Name] Detailed Design |
| 21 | + :id: doc__component_name_detailed_design |
| 22 | + :status: draft |
| 23 | + :safety: ASIL_D |
| 24 | + :realizes: wp__sw_implementation |
| 25 | + :tags: template |
| 26 | + |
| 27 | +.. attention:: |
| 28 | + The above directive must be updated according to your Component. |
| 29 | + |
| 30 | + - Modify ``Your Component Name`` to be your Component Name |
| 31 | + - Modify ``id`` to be your Component Name in upper snake case preceded by ``doc__`` and followed by ``_detailed_design`` |
| 32 | + - Adjust ``status`` to be ``valid`` |
| 33 | + - Adjust ``safety`` and ``tags`` according to your needs |
| 34 | + |
| 35 | +Detailed Design for Component: <Component Name> |
| 36 | +=============================================== |
| 37 | + |
| 38 | +Description |
| 39 | +----------- |
| 40 | + |
| 41 | +| Design Decisions |
| 42 | +| Design Constraints |
| 43 | +
|
| 44 | +Rationale Behind Decomposition into Units |
| 45 | +****************************************** |
| 46 | +| mandatory: a motivation for the decomposition into one or more units. |
| 47 | +
|
| 48 | +.. note:: Reason for split into multiple units could be- |
| 49 | + - Based on design principles like SOLID,DRY etc |
| 50 | + - Based on design pattern's etc. |
| 51 | + |
| 52 | +Static Diagrams for Unit Interactions |
| 53 | +------------------------------------- |
| 54 | +.. code-block:: rst |
| 55 | +
|
| 56 | + .. dd_sta:: <Title> |
| 57 | + :id: dd_sta__<Title> |
| 58 | + :security: <YES|NO> |
| 59 | + :safety: <QM|ASIL_B|ASIL_D> |
| 60 | + :status: <valid|invalid> |
| 61 | + :implements: <link to component requirement id> |
| 62 | + :satisfies: <link to component architecture id> |
| 63 | +
|
| 64 | + .. image:: <link to drawio image> or .. uml:: <link to plantuml> |
| 65 | +
|
| 66 | +Dynamic Diagrams for Unit Interactions |
| 67 | +-------------------------------------- |
| 68 | +.. code-block:: rst |
| 69 | +
|
| 70 | + .. dd_dyn:: <Title> |
| 71 | + :id: dd_dyn__<Title> |
| 72 | + :security: <YES|NO> |
| 73 | + :safety: <QM|ASIL_B|ASIL_D> |
| 74 | + :status: <valid|invalid> |
| 75 | + :implements: <link to component requirement id> |
| 76 | + :satisfies: <link to component architecture id> |
| 77 | +
|
| 78 | + .. image:: <link to drawio image> or .. uml:: <link to plantuml> |
0 commit comments