Saab

2 posts / 0 new
Last post
persan's picture
Offline
Last seen: 1 week 3 days ago
Joined: 08/11/2016
Posts: 4
Have enyone succesed to compile the provided sources for connext 7.3 ??

Hi

I have tried to compile the provieded source-bundle and am wondering i anyone else have succeded to do a complete build of the core libraries, the reason  to ask in this forum is that the source bundles seems to diverge more and more from the prebuilt binaries.

/Wondering

/Per

 

Organization:
Keywords:
6 posts / 0 new
Last post
Offline
Last seen: 3 years 5 months ago
Joined: 11/22/2020
Posts: 1
Enum value name and type from DynamicData

I have defined an enum MyEnum in my IDL with values One and Two. Then I define a struct MyStruct with a single member myEnum of type MyEnum. So far so good.

Now, in my recorder service plugin I'm looking at MyStruct, but in the shape of a DynamicData. I can get the value of the enum with dynamicData.value(int32_t), but how can I translate that to "One" or "Two"? And how can I work out the name of the type ("MyEnum") for that member of the DynamicType? I'm using the modern C++ API of DDS version 6.0.1.

Organization:
Subscribe to RSS - Saab