MBDA

2 posts / 0 new
Last post
Offline
Last seen: 7 years 1 month ago
Joined: 11/08/2014
Posts: 19
TK_UNION of structures Java. How to change discriminator

Hi

I've got a set of IDLs which I use to create a dynamic data tree in Java which I can then edit and publish the various topics.  This has been working well for years until someone decided that unions of structures would be a good idea.  I used the examples for unions of simple types as a basis for changing the discriminator (there appear to be no examples of complex types) and my code looks like this... 

discriminatorType = dynamicDataInstance.get_type().discriminator_type();

Organization:
3 posts / 0 new
Last post
Offline
Last seen: 9 years 6 months ago
Joined: 08/30/2013
Posts: 2
Problem setting sequence elements dynamically

Hi,

I have a found a problem with dynamically setting individual sequence elements. The attached file demonstates the problem, where an unrelated change in the structure's type code changes the behaviour from working as expected to not working.

Organization:
Subscribe to RSS - MBDA