-
|
I have a code generator for some application which generates a bunch of input and output structures. I am integrating this generated code into a component, and the input/output C structures will be filled by ports. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
If you derive your structures/classes from You can then make a forward reference to the type in FPP. See type Note that these types can't be used in ground interfaces (like commands, telemetry, etc), since their composition isn't known to the FPP. |
Beta Was this translation helpful? Give feedback.
If you derive your structures/classes from
Fw::Serializeable, you can pass them through ports. You fill in theserialize()anddeserialize()methods in your derived class, and they will be invoked automatically.You can then make a forward reference to the type in FPP. See type
Tin section 8.2.Note that these types can't be used in ground interfaces (like commands, telemetry, etc), since their composition isn't known to the FPP.