37 #include <test_roscpp/TestStringString.h>
39 bool caseFlip(test_roscpp::TestStringString::Request &req,
40 test_roscpp::TestStringString::Response &res)
44 for (
size_t i = 0; i < res.str.length(); i++)
57 test_roscpp::TestStringString::Response &res)
78 main(
int argc,
char** argv)
86 srv3 = nh.
advertiseService<test_roscpp::TestStringString::Request, test_roscpp::TestStringString::Response>(
"service_adv_unadv_in_callback", boost::bind(
caseFlipUnadvertise, boost::placeholders::_1, boost::placeholders::_2, boost::ref(srv3)));