13 #include <unordered_map> 16 #include <boost/property_tree/ptree_fwd.hpp> 18 #include "FairMQChannel.h" 27 using FairMQChannelMap = std::unordered_map<std::string, std::vector<FairMQChannel>>;
29 struct ParserError : std::runtime_error {
using std::runtime_error::runtime_error; };
31 FairMQChannelMap ptreeToMQMap(
const boost::property_tree::ptree& pt,
const std::string& deviceId,
const std::string& rootNode);
35 FairMQChannelMap UserParser(
const std::string& filename,
const std::string& deviceId,
const std::string& rootNode =
"fairMQOptions");
41 void PrintDeviceList(
const boost::property_tree::ptree& tree);
42 void DeviceParser(
const boost::property_tree::ptree& tree, FairMQChannelMap& channelMap,
const std::string& deviceId);
43 void ChannelParser(
const boost::property_tree::ptree& tree, FairMQChannelMap& channelMap);
44 void SocketParser(
const boost::property_tree::ptree& tree, std::vector<FairMQChannel>& channelList,
const std::string& channelName,
const FairMQChannel& commonChannel);
Definition: FairMQChannel.h:27
Definition: FairMQParser.h:29
Definition: FairMQParser.h:33
Tools for interfacing containers to the transport via polymorphic allocators.
Definition: DeviceRunner.h:23