8 #include <catch_ros/catch.hpp> 10 std::string
printMapping(
const std::map<std::string, std::string>& mapping)
14 for(
auto& pair : mapping)
16 ss <<
"'" << pair.first <<
"':='" << pair.second <<
"', ";
27 INFO(
"Looking for node '" << name <<
"' in namespace '" << namespaceString <<
"'");
31 for(
auto& node : nodes)
32 ss <<
" - '" << node->name() <<
"' (ns '" << node->namespaceString() <<
"')\n";
35 for(
auto& node : nodes)
37 if(node->namespaceString() != namespaceString)
40 if(node->name() == name)
std::shared_ptr< Node > Ptr
rosmon::launch::Node::Ptr getNode(const std::vector< rosmon::launch::Node::Ptr > &nodes, const std::string &name, const std::string &namespaceString)
std::string printMapping(const std::map< std::string, std::string > &mapping)