default_value

3 posts / 0 new
Last post
Offline
Last seen: 1 week 2 days ago
Joined: 09/10/2022
Posts: 44
Set default value for sequence in IDL definition

Hello.

I use rtiddsgen version 3.0.0 and I generate codes for c++11. I want to set default value for sequence fields by @default annotation when I define struct in idl fille.

But as mentioned in RTI_ConnextDDS_CoreLibraries_GettingStarted_ExtensibleTypesAddendum :

          The default annotation is not currently supported on arrays and sequences even if their types are types in which the annotation is supported."

Subscribe to RSS - default_value