7 #include <catch_ros/catch.hpp> 9 #include "../../src/launch/node.h" 14 struct StringMaker<
rosmon::launch::Node::Ptr>
19 return "NodePtr(name='" + node->name() +
"', namespace='" + node->namespaceString() +
"')";
26 struct StringMaker<
std::vector<rosmon::launch::Node::Ptr>>
28 static std::string
convert(
const std::vector<rosmon::launch::Node::Ptr>& nodes)
33 ss << StringMaker<rosmon::launch::Node::Ptr>::convert(n) <<
", ";
41 std::string
printMapping(
const std::map<std::string, std::string>& mapping);
static std::string convert(const std::vector< rosmon::launch::Node::Ptr > &nodes)
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="")
static std::string convert(const rosmon::launch::Node::Ptr &node)
std::string printMapping(const std::map< std::string, std::string > &mapping)