incubator-etch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Armin Müller (JIRA) <>
Subject [jira] Updated: (ETCH-109) C Binding: Mixins not fully functional
Date Thu, 17 Mar 2011 12:50:29 GMT


Armin Müller updated ETCH-109:

    Attachment: etch-binding-c-mixins.patch


attached you find a patch to extend the mixins support for the C binding.

Mixins are currently not fully supported by the C binding
(JIRA-ETCH-109). To fully support mixins the templates to generate the C
sources from an ETCH IDL have been modified. Unfortunately the changes
are not fully backward compatible. Setting the implementation method in
*_impl.c files had to be changed e.g. from

pserver->say_hello = pserver_base->say_hello = say_hello_impl;


say_hello_impl, FALSE);

For upgrading from previous ETCH versions you have to modify the
"virtual method overrides" in existing *_impl.c files.

The C version of the helloworld example has been adapted to the changes
and extended to call a mixin function.

Thanks to Holger Grandy for providing an initial input for the patch.

Armin Müller <> (itestra GmbH by order of BMW Group Research and
Holger Grandy (BMW Car IT GmbH)

> C Binding: Mixins not fully functional
> --------------------------------------
>                 Key: ETCH-109
>                 URL:
>             Project: Etch
>          Issue Type: Bug
>          Components: c-binding
>    Affects Versions: 1.1
>            Reporter: Holger Grandy
>            Assignee: Holger Grandy
>             Fix For: 1.1.1
>         Attachments: etch-binding-c-mixins.patch
> Mixins may lead to incorrect generated code, valuefactory references wrong mixed-in-valuefactory
fields. Header includes for referenced mixin interface.h files are not correct

This message is automatically generated by JIRA.
For more information on JIRA, see:

View raw message