set_complex_member

DynamicData set_complex_member corrupts data

I am having problems with Connext 5.1 when copying a struct member from one DynamicData to another with set_complex_member. Before the set_complex_member everything in the destination DynamicData is fine, but afterwards it appears to no longer be complete. The call itself does not return an error. I also get error outputs on the console when the DataWriter attempts to write the instance afterwards. The attached text file contains the IDL and C++ code for a small example which illustrates the problem by simply printing the type before and after set_complex_member.
Subscribe to RSS - set_complex_member