DDS Plugin: Simplify subchannel bookkeeping

This commit is contained in:
Alexey Rybalchenko
2020-03-11 14:37:08 +01:00
committed by Dennis Klein
parent b05782af16
commit 539b088ade
2 changed files with 10 additions and 17 deletions

View File

@@ -27,6 +27,7 @@
#include <string>
#include <atomic>
#include <thread>
#include <map>
#include <unordered_map>
#include <vector>
@@ -40,9 +41,9 @@ namespace plugins
struct DDSConfig
{
// container of sub channel addresses
std::vector<std::string> fSubChannelAddresses;
unsigned int fNumSubChannels;
// dds values for the channel
std::unordered_map<uint64_t, std::string> fDDSValues;
std::map<uint64_t, std::string> fDDSValues;
};
struct DDSSubscription