Closed bocchino closed 1 month ago
The work described above is done on a branch. On an experimental branch I'm attempting to do what we said in #406 and eliminate the auto-generated string types. If that's feasible, then I'll update this issue.
Auto-generated string types are now eliminated for ports and for arrays! On to structs.
This is now done for structs!
The branch of F Prime corresponding to this work is https://github.com/bocchino/fprime/tree/fpp-issue-423-string-code-gen.
After discussion, we have reverted to the strategy described in #406.
const Fw::StringBase&
in the interface.Fw::ExternalString
. Eliminate per-use auto-generated string classes.snprintf
into a temporary buffer followed by assignment into a string. Instead, format into the string.Supersedes #406.