Public Types | Public Member Functions | Private Attributes
ros::ServiceCallbackHelperT< Spec > Class Template Reference

Concrete generic implementation of ServiceCallbackHelper for any normal service type. More...

#include <service_callback_helper.h>

Inheritance diagram for ros::ServiceCallbackHelperT< Spec >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef Spec::CallbackType Callback
typedef boost::function
< RequestPtr()> 
ReqCreateFunction
typedef Spec::RequestPtr RequestPtr
typedef Spec::RequestType RequestType
typedef boost::function
< ResponsePtr()> 
ResCreateFunction
typedef Spec::ResponsePtr ResponsePtr
typedef Spec::ResponseType ResponseType

Public Member Functions

virtual bool call (ServiceCallbackHelperCallParams &params)
 ServiceCallbackHelperT (const Callback &callback, const ReqCreateFunction &create_req=static_cast< RequestPtr(*)()>(defaultServiceCreateFunction< RequestType >), const ResCreateFunction &create_res=static_cast< ResponsePtr(*)()>(defaultServiceCreateFunction< ResponseType >))

Private Attributes

Callback callback_
ReqCreateFunction create_req_
ResCreateFunction create_res_

Detailed Description

template<typename Spec>
class ros::ServiceCallbackHelperT< Spec >

Concrete generic implementation of ServiceCallbackHelper for any normal service type.

Definition at line 146 of file service_callback_helper.h.


Member Typedef Documentation

template<typename Spec >
typedef Spec::CallbackType ros::ServiceCallbackHelperT< Spec >::Callback

Definition at line 153 of file service_callback_helper.h.

template<typename Spec >
typedef boost::function<RequestPtr()> ros::ServiceCallbackHelperT< Spec >::ReqCreateFunction

Definition at line 154 of file service_callback_helper.h.

template<typename Spec >
typedef Spec::RequestPtr ros::ServiceCallbackHelperT< Spec >::RequestPtr

Definition at line 151 of file service_callback_helper.h.

template<typename Spec >
typedef Spec::RequestType ros::ServiceCallbackHelperT< Spec >::RequestType

Definition at line 149 of file service_callback_helper.h.

template<typename Spec >
typedef boost::function<ResponsePtr()> ros::ServiceCallbackHelperT< Spec >::ResCreateFunction

Definition at line 155 of file service_callback_helper.h.

template<typename Spec >
typedef Spec::ResponsePtr ros::ServiceCallbackHelperT< Spec >::ResponsePtr

Definition at line 152 of file service_callback_helper.h.

template<typename Spec >
typedef Spec::ResponseType ros::ServiceCallbackHelperT< Spec >::ResponseType

Definition at line 150 of file service_callback_helper.h.


Constructor & Destructor Documentation

template<typename Spec >
ros::ServiceCallbackHelperT< Spec >::ServiceCallbackHelperT ( const Callback callback,
const ReqCreateFunction create_req = static_cast<RequestPtr(*)()>(defaultServiceCreateFunction<RequestType>),
const ResCreateFunction create_res = static_cast<ResponsePtr(*)()>(defaultServiceCreateFunction<ResponseType>) 
) [inline]

Definition at line 157 of file service_callback_helper.h.


Member Function Documentation

template<typename Spec >
virtual bool ros::ServiceCallbackHelperT< Spec >::call ( ServiceCallbackHelperCallParams params) [inline, virtual]

Implements ros::ServiceCallbackHelper.

Definition at line 170 of file service_callback_helper.h.


Member Data Documentation

template<typename Spec >
Callback ros::ServiceCallbackHelperT< Spec >::callback_ [private]

Definition at line 188 of file service_callback_helper.h.

template<typename Spec >
ReqCreateFunction ros::ServiceCallbackHelperT< Spec >::create_req_ [private]

Definition at line 189 of file service_callback_helper.h.

template<typename Spec >
ResCreateFunction ros::ServiceCallbackHelperT< Spec >::create_res_ [private]

Definition at line 190 of file service_callback_helper.h.


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


roscpp
Author(s): Morgan Quigley, Josh Faust, Brian Gerkey, Troy Straszheim
autogenerated on Tue Mar 7 2017 03:44:47