Encapsulates all options available for creating a ServiceClient. More...
#include <service_client_options.h>
Public Member Functions | |
template<class Service > | |
void | init (const std::string &_service, bool _persistent, const M_string &_header) |
template<class MReq , class MRes > | |
void | init (const std::string &_service, bool _persistent, const M_string &_header) |
ServiceClientOptions (const std::string &_service, const std::string &_md5sum, bool _persistent, const M_string &_header) | |
ServiceClientOptions () | |
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 40 of file service_client_options.h.
ros::ServiceClientOptions::ServiceClientOptions | ( | ) | [inline] |
Definition at line 42 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 53 of file service_client_options.h.
void ros::ServiceClientOptions::init | ( | const std::string & | _service, | |
bool | _persistent, | |||
const M_string & | _header | |||
) | [inline] |
Definition at line 88 of file service_client_options.h.
void ros::ServiceClientOptions::init | ( | const std::string & | _service, | |
bool | _persistent, | |||
const M_string & | _header | |||
) | [inline] |
Definition at line 70 of file service_client_options.h.
Extra key/value pairs to add to the connection header.
Definition at line 101 of file service_client_options.h.
std::string ros::ServiceClientOptions::md5sum |
Service md5sum.
Definition at line 99 of file service_client_options.h.
Whether or not the connection should persist.
Definition at line 100 of file service_client_options.h.
std::string ros::ServiceClientOptions::service |
Service to connect to.
Definition at line 98 of file service_client_options.h.