Detailed Design#
Attention
The detailed design document is optional and should be created if the design of the component is complex and cannot be easily understood from the architecture documentation and interface documentation alone.
[Your Component Name] Detailed Design
|
status: draft
security: NO
safety: ASIL_B
|
||||
Attention
The above directive must be updated according to your Component.
Modify
Your Component Nameto be your Component NameModify
idto be your Component Name in upper snake case preceded bydoc__and followed by_detailed_designAdjust
statusto bevalidAdjust
safetyandtagsaccording to your needs
Detailed Design for Component: <Component Name>#
Description#
Rationale Behind Decomposition into Units#
Note
Reason for split into multiple units could be- - Based on design principles like SOLID,DRY etc - Based on design pattern’s etc.
Static Diagrams for Unit Interactions#
A static view provides an overview of the units and their relationships using
UML 2.0 notations (e.g. class diagrams, component diagrams). Use .. uml::
or .. image:: directives to include the diagram.
Dynamic Diagrams for Unit Interactions (optional)#
A dynamic view illustrates how the units within a component interact over their interfaces to fulfill a specific use case or functionality. It is optional when the component’s behaviour is straightforward and can be understood from the static view and interface documentation alone.
Use standard UML behavioural diagrams (sequence diagrams, state machine diagrams)
with .. uml:: or .. image:: directives.
Units within the Component#
The relationship between a unit and its parent component is established implicitly through the file path. Each component has its own directory, and units residing within that directory belong to it. The unit’s attributes and behaviour are documented in the source code itself. A separate static diagram per unit is not required.
Interface documentation of a software unit is part of the source code (e.g. public API headers, trait definitions, or documented function signatures).
Inspection Checklist#
The checklist for verification of the detailed design inspection can be found here:
Detail design example#
An example of documenting detailed design can be found in: