Hello,
I have a couple of questions about the DDS code generator (5.2.3).
1. In "RTI_CoreLibrariesAndUtilities_GettingStarted_ExtensibleTypesAddendum.pdf", it states that (sorry about the formatting):
Note: To specify both the “@ID” and “@Optional” annotations, they must be on separate lines:
struct MyType {
long a;
long b;
long c; //@Optional
//@ID 100
long d;
};
However, this appears not to be the case. In fact, I'd go as far as to say that the code generator will accept any number of annotations on the same line. Is that correct?
2. The code generator will not accept @Shared with @Optional. Although this sounds reasonably, it is neither documented in the above document nor the OMG DDS specification. Any thoughts?
Thanks.
Regards,
Jeff.
Sorry, I shoud have made this clear. The RTI code generator supports shared members not be means of the @Shared annotation but by means of a properietary notation, i.e. "*".