20 TopicProxy::TopicProxy()
24 TopicProxy::TopicProxy(
const std::string& host, uint32_t port)
50 return MessageInstanceConstPtr();
53 GetMessage::Response response;
55 return MessageInstanceConstPtr();
58 MessageInstanceConstPtr message;
60 message.reset(
new MessageInstance(response.message));
62 ROS_ERROR(
"Catched exception while handling a request for topic %s: %s", request.topic.c_str(), e.what());
74 PublishMessage::Response response;
ServiceClient get_message_
bool call(MReq &req, MRes &res)
const uint32_t g_default_port
const std::string g_get_message_service
const std::string g_publish_message_service
MessageInstanceConstPtr send(GetMessage::Request &)
ServiceClient publish_message_