Public Types | Static Public Member Functions | List of all members
ros::ServiceSpec< MReq, MRes > Struct Template Reference

#include <service_callback_helper.h>

Public Types

typedef boost::function< bool(RequestType &, ResponseType &)> CallbackType
 
typedef boost::shared_ptr< RequestTypeRequestPtr
 
typedef MReq RequestType
 
typedef boost::shared_ptr< ResponseTypeResponsePtr
 
typedef MRes ResponseType
 

Static Public Member Functions

static bool call (const CallbackType &cb, ServiceSpecCallParams< RequestType, ResponseType > &params)
 

Detailed Description

template<typename MReq, typename MRes>
struct ros::ServiceSpec< MReq, MRes >

Definition at line 115 of file service_callback_helper.h.

Member Typedef Documentation

◆ CallbackType

template<typename MReq , typename MRes >
typedef boost::function<bool(RequestType&, ResponseType&)> ros::ServiceSpec< MReq, MRes >::CallbackType

Definition at line 121 of file service_callback_helper.h.

◆ RequestPtr

template<typename MReq , typename MRes >
typedef boost::shared_ptr<RequestType> ros::ServiceSpec< MReq, MRes >::RequestPtr

Definition at line 119 of file service_callback_helper.h.

◆ RequestType

template<typename MReq , typename MRes >
typedef MReq ros::ServiceSpec< MReq, MRes >::RequestType

Definition at line 117 of file service_callback_helper.h.

◆ ResponsePtr

template<typename MReq , typename MRes >
typedef boost::shared_ptr<ResponseType> ros::ServiceSpec< MReq, MRes >::ResponsePtr

Definition at line 120 of file service_callback_helper.h.

◆ ResponseType

template<typename MReq , typename MRes >
typedef MRes ros::ServiceSpec< MReq, MRes >::ResponseType

Definition at line 118 of file service_callback_helper.h.

Member Function Documentation

◆ call()

template<typename MReq , typename MRes >
static bool ros::ServiceSpec< MReq, MRes >::call ( const CallbackType cb,
ServiceSpecCallParams< RequestType, ResponseType > &  params 
)
inlinestatic

Definition at line 123 of file service_callback_helper.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