Skip to content

Fixes to C++ generic IDL port generation #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: develop-2.2
Choose a base branch
from

Conversation

jirwin-geon
Copy link
Contributor

Resolves several issues with custom IDL interfaces and C++ ports:

  • Nested structs are resolved (previously caused redhawk-codegen to crash).
  • Correct determination of fixed-length vs. variable length structs in argument signatures (previously generated code that did not compile).
  • Better resolution of typedef-ed types.
  • Proper handling of union types (same rules as structs).

Testing requires installing custom IDL project to $OSSIEHOME. An example IDL project plus test components is attached: IdlArgs.zip.

… between methods, clean up excessive calculations in template
…ination of variable length structs and removing a lot of special casing that wasn't necessary
…ion.

Unions are similar to structs in this case. However, while unions are treated more like a proper IDL type, structs cannot change without some ripple effect. Consolidated caching of structs and interfaces (and now, unions) to fix problems with nested types.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant