Go to the documentation of this file.
36 #ifndef ROSCPP_SERVICE_SERVER_LINK_H
37 #define ROSCPP_SERVICE_SERVER_LINK_H
39 #include "ros/common.h"
81 typedef std::map<std::string, std::string>
M_string;
82 ServiceServerLink(
const std::string& service_name,
bool persistent,
const std::string& request_md5sum,
const std::string& response_md5sum,
const M_string& header_values);
124 void processNextCall();
132 void cancelCall(
const CallInfoPtr& info);
160 #endif // ROSCPP_SERVICE_SERVER_LINK_H
std::shared_ptr< Connection > ConnectionPtr
std::string exception_string_
M_string extra_outgoing_header_values_
const std::string & getRequestMD5Sum() const
std::shared_ptr< CallInfo > CallInfoPtr
CallInfoPtr current_call_
ROSCONSOLE_DECL void initialize()
Don't call this directly. Performs any required initialization/configuration. Happens automatically w...
std::string response_md5sum_
std::queue< CallInfoPtr > Q_CallInfo
bool isPersistent() const
Returns whether this is a persistent connection.
const std::string & getServiceName() const
std::map< std::string, std::string > M_string
std::mutex call_queue_mutex_
ConnectionPtr connection_
std::mutex finished_mutex_
const ConnectionPtr & getConnection() const
std::thread::id caller_thread_id_
std::string service_name_
const std::string & getResponseMD5Sum() const
Handles a connection to a service. If it's a non-persistent client, automatically disconnects when it...
std::shared_ptr< ServiceServerLink > ServiceServerLinkPtr
std::string request_md5sum_
std::condition_variable finished_condition_
SerializedMessage * resp_
std_msgs::Header * header(M &m)
returns Header<M>::pointer(m);
bool call(const std::string &service_name, MReq &req, MRes &res)
Invoke an RPC service.
sick_scan_xd
Author(s): Michael Lehning
, Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:10