nasa / fprime

F´ - A flight software and embedded systems framework
https://fprime.jpl.nasa.gov
Apache License 2.0
10.03k stars 1.3k forks source link

Have impl code generator/cookie cutter generate `doDispatch()` example for sync port #2870

Open timcanham opened 1 week ago

timcanham commented 1 week ago
F´ Version v3.4.3
Affected Component

Feature Description

When specifying a component as queued, have the cookie cutter generate:

1) A Svc::Sched port connection, the most common use case 2) have the Svc::Sched handler generate code call doDispatch() to show that messages need to be handled manually by the user.

Rationale

Helps users not miss the need to handle messages.

LeStarch commented 1 day ago

This only applies to Queued components, yes?