In my task I subscribe to CKeyValue internally from my DDS plugin code. At the same time a user should be able to subscribe to CKeyValue to listen on their own key/value updates.
I've tried this with a group of tasks, where all of them subscribe to CKeyValue and CCustomCmd via the plugin and exchange some values over it.
Later during the execution they subscribe a second time from the user code to CKeyValue and one of them puts a new value (to a separate key).
After the second subscription I have following things that go wrong:
- some tasks receive the latest value in the user code, but plugin doesn't receive the value. These properly receive the
CCustomCmd commands in the plugin.
- others receive the new value in the plugin, but not in the user code. But also, these tasks no longer receive commands via
CCustomCmd (which I subscribed to only once in the plugin).
In my task I subscribe to
CKeyValueinternally from my DDS plugin code. At the same time a user should be able to subscribe toCKeyValueto listen on their own key/value updates.I've tried this with a group of tasks, where all of them subscribe to
CKeyValueandCCustomCmdvia the plugin and exchange some values over it.Later during the execution they subscribe a second time from the user code to
CKeyValueand one of them puts a new value (to a separate key).After the second subscription I have following things that go wrong:
CCustomCmdcommands in the plugin.CCustomCmd(which I subscribed to only once in the plugin).