Public Member Functions | Public Attributes | List of all members
ros::ServiceClientOptions Struct Reference

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. More...
 
std::string md5sum
 Service md5sum. More...
 
bool persistent
 Whether or not the connection should persist. More...
 
std::string service
 Service to connect to. More...
 

Detailed Description

Encapsulates all options available for creating a ServiceClient.

Definition at line 41 of file service_client_options.h.

Constructor & Destructor Documentation

◆ ServiceClientOptions() [1/2]

ros::ServiceClientOptions::ServiceClientOptions ( )
inline

Definition at line 43 of file service_client_options.h.

◆ ServiceClientOptions() [2/2]

ros::ServiceClientOptions::ServiceClientOptions ( const std::string &  _service,
const std::string &  _md5sum,
bool  _persistent,
const M_string _header 
)
inline

Definition at line 55 of file service_client_options.h.

Member Function Documentation

◆ init() [1/2]

template<class MReq , class MRes >
void ros::ServiceClientOptions::init ( const std::string &  _service,
bool  _persistent,
const M_string _header 
)
inline

Definition at line 72 of file service_client_options.h.

◆ init() [2/2]

template<class Service >
void ros::ServiceClientOptions::init ( const std::string &  _service,
bool  _persistent,
const M_string _header 
)
inline

Definition at line 90 of file service_client_options.h.

Member Data Documentation

◆ header

M_string ros::ServiceClientOptions::header

Extra key/value pairs to add to the connection header.

Definition at line 103 of file service_client_options.h.

◆ md5sum

std::string ros::ServiceClientOptions::md5sum

Service md5sum.

Definition at line 101 of file service_client_options.h.

◆ persistent

bool ros::ServiceClientOptions::persistent

Whether or not the connection should persist.

Definition at line 102 of file service_client_options.h.

◆ service

std::string ros::ServiceClientOptions::service

Service to connect to.

Definition at line 100 of file service_client_options.h.


The documentation for this struct was generated from the following file:


roscpp
Author(s): Morgan Quigley, Josh Faust, Brian Gerkey, Troy Straszheim, Dirk Thomas , Jacob Perron
autogenerated on Sat Sep 14 2024 02:59:36