nasa / fpp

F Prime Prime: A modeling language for F Prime
https://fprime.jpl.nasa.gov
Apache License 2.0
49 stars 31 forks source link

Allow components to implement "interfaces," i.e., sets of ports #317

Open bocchino opened 1 year ago

bocchino commented 1 year ago

Here is an example, in which the interfaces are represented as included files:

https://github.com/nasa/fprime/pull/2252

Each component that includes ByteStreamDriverInterface.fppi gets those ports and provides its own implementation for the input port handlers.

It would be nice to support these interfaces as a first-class FPP feature.