FairMQ: Implement GetPropertyKeys config API

This commit is contained in:
Dennis Klein
2017-09-27 21:37:51 +02:00
committed by Mohammad Al-Turany
parent 2589ca5ced
commit 8c8ee45914
4 changed files with 27 additions and 1 deletions

View File

@@ -90,6 +90,7 @@ class Plugin
auto GetProperty(const std::string& key) const -> T { return fPluginServices->GetProperty<T>(key); }
auto GetPropertyAsString(const std::string& key) const -> std::string { return fPluginServices->GetPropertyAsString(key); }
auto GetChannelInfo() const -> std::unordered_map<std::string, int> { return fPluginServices->GetChannelInfo(); }
auto GetPropertyKeys() const -> std::vector<std::string> { return fPluginServices->GetPropertyKeys(); }
// template<typename T>
// auto SubscribeToPropertyChange(std::function<void(const std::string& [>key*/, const T /*newValue<])> callback) const -> void { fPluginServices.SubscribeToPropertyChange(fkName, callback); }
// template<typename T>