commit f25c69203be49a60b63d72faf0eaf54e80cdafce
Author: Andrew Eidsness <andrewe@jfront.com> 2015-06-03 20:45:26
Committer: Andrew Eidsness <andrewe@jfront.com> 2015-06-05 10:02:48
Parent: 2ec8be48d0fb2736cb304cb3432d9f90f1700c09 (Bug 469477: allow
UMLRTInMessage::decodeInit to take NULL)
Child: cb4fd9482a19c54ab4f65bb9adfe135d5c9dc180 (wip)
Branches: serialize-01, origin/serialize-01

Bug 469477: adapt codegen to new serialization API

This updates codegen to work with the RTS's new serialization API.
There are several changes:

1. The new UMLRTInMessage is used when decoding data.  This means that
the generated Capsule::currentType field is no longer needed, it has
been removed.

2. The generated Capsule::inject and initialize functions have been
updated to take UMLRTInMessage instead of just UMLRTMessage.

3. The generated type descriptor is updated to match the new struct
layout.  When initializing a signal, we now pass the result of the
descriptor's getSize function.

4. The RTS now provides a descriptor for "long double", codegen uses it
where appropriate.

This has been tested with the PingPong-data model.

Change-Id: Ib0338fe61ae61deaca99587596488fb7aaa2c7f5
Signed-off-by: Andrew Eidsness <andrewe@jfront.com>
2 files changed
tree: b07166cd0ff056e38def34ed34252d90a127bae0
  1. codegen/
  2. models/
  3. rts/
  4. .gitignore
  5. epl-v10.html
  6. notice.html
  7. pom.xml