Go to the documentation of this file.
28 #ifndef ROSCPP_SERVICE_CLIENT_OPTIONS_H
29 #define ROSCPP_SERVICE_CLIENT_OPTIONS_H
58 , persistent(_persistent)
71 template <
class MReq,
class MRes>
72 void init(
const std::string& _service,
bool _persistent,
const M_string& _header)
74 namespace st = service_traits;
77 md5sum = st::md5sum<MReq>();
78 persistent = _persistent;
89 template <
class Service>
90 void init(
const std::string& _service,
bool _persistent,
const M_string& _header)
92 namespace st = service_traits;
95 md5sum = st::md5sum<Service>();
96 persistent = _persistent;
void init(const std::string &_service, bool _persistent, const M_string &_header)
void init(const std::string &_service, bool _persistent, const M_string &_header)
bool persistent
Whether or not the connection should persist.
M_string header
Extra key/value pairs to add to the connection header.
Encapsulates all options available for creating a ServiceClient.
std::string md5sum
Service md5sum.
ServiceClientOptions(const std::string &_service, const std::string &_md5sum, bool _persistent, const M_string &_header)
std::string service
Service to connect to.
std::map< std::string, std::string > M_string
roscpp
Author(s): Morgan Quigley, Josh Faust, Brian Gerkey, Troy Straszheim, Dirk Thomas
, Jacob Perron
autogenerated on Sat Sep 14 2024 02:59:35