Encapsulates all options available for creating a ServiceClient. More...
#include <service_client_options.h>
Public Member Functions | |
template<class MReq , class MRes > | |
void | init (const std::string &_service, bool _persistent, const M_string &_header) |
template<class Service > | |
void | init (const std::string &_service, bool _persistent, const M_string &_header) |
ServiceClientOptions () | |
ServiceClientOptions (const std::string &_service, const std::string &_md5sum, bool _persistent, const M_string &_header) | |
Public Attributes | |
M_string | header |
Extra key/value pairs to add to the connection header. | |
std::string | md5sum |
Service md5sum. | |
bool | persistent |
Whether or not the connection should persist. | |
std::string | service |
Service to connect to. |
Encapsulates all options available for creating a ServiceClient.
Definition at line 41 of file service_client_options.h.
ros::ServiceClientOptions::ServiceClientOptions | ( | ) | [inline] |
Definition at line 43 of file service_client_options.h.
ros::ServiceClientOptions::ServiceClientOptions | ( | const std::string & | _service, |
const std::string & | _md5sum, | ||
bool | _persistent, | ||
const M_string & | _header | ||
) | [inline] |
Definition at line 54 of file service_client_options.h.
void ros::ServiceClientOptions::init | ( | const std::string & | _service, |
bool | _persistent, | ||
const M_string & | _header | ||
) | [inline] |
Definition at line 71 of file service_client_options.h.
void ros::ServiceClientOptions::init | ( | const std::string & | _service, |
bool | _persistent, | ||
const M_string & | _header | ||
) | [inline] |
Definition at line 89 of file service_client_options.h.
Extra key/value pairs to add to the connection header.
Definition at line 102 of file service_client_options.h.
std::string ros::ServiceClientOptions::md5sum |
Service md5sum.
Definition at line 100 of file service_client_options.h.
Whether or not the connection should persist.
Definition at line 101 of file service_client_options.h.
std::string ros::ServiceClientOptions::service |
Service to connect to.
Definition at line 99 of file service_client_options.h.