weixin_39923599
weixin_39923599
2020-12-27 10:18

Add support for IDL to C++11 generated user types

It would be an interesting enhancement when OpenDDS would be able to support in addition to IDL to C++ defined types to also support IDL to C++11 defined types. This would at least need some extensions in the opendds idl compiler to support a different generated type system, maybe some more rework in the core.

该提问来源于开源项目:objectcomputing/OpenDDS

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

6条回答

  • weixin_39955829 weixin_39955829 4月前

    For FACE, opendds_idl generates the language mapping instead of counting on tao_idl to do it. There is already support for this in dds/idl/langmap_generator.cpp. The idea there is that (to some extent) different language mappings could be plugged in.

    点赞 评论 复制链接分享
  • weixin_39923599 weixin_39923599 4月前

    In case of for example TAOX11 we already generate the type system, we only need to update the serializers and other helper methods that are generated around the type. This is something I am going to look into soon, feel free to label this as extension and assign this to me.

    点赞 评论 复制链接分享
  • weixin_39955829 weixin_39955829 4月前

    Integrating with external software can be tricky, perhaps this should be a separate discussion. I don't think it would be very hard for opendds_idl to generate what would be required -- I had this in mind when I wrote langmap_generator.cpp.

    点赞 评论 复制链接分享
  • weixin_39923599 weixin_39923599 4月前

    Working on this first by manually adapting some generated code, as a result created #672, would simplify a lot of our code because we are using std::(w)string for IDL string/wstring

    点赞 评论 复制链接分享
  • weixin_39923599 weixin_39923599 4月前

    Also see #686

    点赞 评论 复制链接分享
  • weixin_39725365 weixin_39725365 4月前

    Can this be closed now?

    点赞 评论 复制链接分享

相关推荐