enum standards

2 posts / 0 new
Last post
Last seen: 2 years 9 months ago
Joined: 09/07/2021
Posts: 1
Portable interfaces to standard DDS - enum values

When creating an interface (IDL) for RTI Connext - I can create an enumeration with constant values. To interface to users using openDDS this doesn't work - enums can't have values. Is there a recommended design idea to create an interface where I can use these constant values? It seems like if I want to use an enum portably then I need to carry an additional header with constants to map the enums to the values I want.


Subscribe to RSS - enum standards