FEO Component Architecture
status: draft
security: NO
safety: ASIL_B
tags: component_feo

FEO Component Architecture#

Overview#

The current implementation of the feature “FEO” (Fixed Execution Order Framework) consists of a main component (called “FEO” component) and a set of auxiliary components that will be either replaced by or turned into wrappers to components from other S-CORE features. In the latter case, these wrappers will possibly become sub-components of the main component.

This document describes the architecture of the main component “FEO”.

Description#

Sub-Components#

The main component “FEO” consists of the following sub-components:

  • feo: Implements activities, threads, agents, and scheduling

  • feo-cpp-build: C++ and Rust Code simplifying the integration of C++ components

  • feo-cpp-macros: Rust proc-macros simplifying the integration of C++ components.

Rust requires proc-macros to reside in their own crate, therefore the latter two sub-components cannot easily be combined into a single one.

Rationale Behind Architecture Decomposition#

The main component “FEO” has been split into three sub-components mainly according to usability considerations and Rust compiler constraints. (Rust proc-macros must reside in their own crate.)

Static Architecture#

Dynamic Architecture#

Dynamic Architecture
status: valid
security: YES
safety: ASIL_B

The actual dynamic call sequence during the execution of a FEO application depends on the distribution of activities to processes as well as on the activity dependency graph defining the task chain. As an example, we consider the simple task chain and process distribution depicted in the following diagram

For this task chain, a possible call sequence is shown below.

Interfaces#

feo::agent::PrimaryConfig
status: valid
security: YES
safety: ASIL_B

See static architecture.

feo::agent::Primary
status: valid
security: YES
safety: ASIL_B

See static architecture.

feo::agent::SecondaryConfig
status: valid
security: YES
safety: ASIL_B

See static architecture.

feo::agent::Secondary
status: valid
security: YES
safety: ASIL_B

See static architecture.

feo::activity::Activity
status: valid
security: YES
safety: ASIL_B
tags: component_feo
language: rust

See static architecture.