1 #ifndef REMOTE_ROSBAG_RECORD_CALL 2 #define REMOTE_ROSBAG_RECORD_CALL 10 #include <std_srvs/Empty.h> 14 #include <boost/regex.hpp> 20 inline static std::size_t
call(
const boost::regex &expression,
const bool verbose =
true) {
21 std::size_t n_match(0), n_success(0);
33 for (
int i = 0; i < services.
size(); ++i) {
34 const std::string name(services[i][0]);
35 if (!boost::regex_match(name, expression)) {
const std::string & getMessage() const
bool call(const std::string &service_name, MReq &req, MRes &res)
ROSCPP_DECL const std::string & getName()
static std::size_t call(const boost::regex &expression, const bool verbose=true)
ROSCPP_DECL bool execute(const std::string &method, const XmlRpc::XmlRpcValue &request, XmlRpc::XmlRpcValue &response, XmlRpc::XmlRpcValue &payload, bool wait_for_master)
#define ROS_WARN_STREAM(args)
#define ROS_INFO_STREAM(args)
#define ROS_ERROR_STREAM(args)