Jump to content
OpenSplice DDS Forum
Sign in to follow this  
Christopher Thompson

@optional Annotation

Recommended Posts

Does Opensplice support annotations in the IDL files?  I'm using Community edition v6.7 and trying to use the following IDL.

module HelloWorld
	struct Msg
		long id;//@key
		boolean valid;
		@optional long counter;
	#pragma keylist Msg id;

The generated code does not produce anything that looks like an optional, it looks the same as if I didn't have the @optional tag.  The same IDL does generate an optional argument in RTI v5.3.1 though.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this