SDK: Require DDS 2.5.20

* Use the new interface: CTopology::getName
* Enhance Example.DDS
This commit is contained in:
Dennis Klein
2019-07-24 10:23:15 +02:00
parent 7d1ee82c6b
commit de4fca177e
5 changed files with 13 additions and 6 deletions

View File

@@ -227,7 +227,6 @@ void DDSSession::StartDDSService() { fImpl->fDDSService.start(fImpl->fId); }
void DDSSession::SubscribeToCommands(std::function<void(const std::string& msg, const std::string& condition, uint64_t senderId)> cb)
{
fImpl->fSession.unsubscribe(); // TODO REMOVE THIS HACK!!!!
fImpl->fDDSCustomCmd.subscribe(cb);
// fImpl->fDDSCustomCmd.subscribeOnReply([](const std::string& reply) {
// LOG(debug) << reply;