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 163 of file service_callback_helper.h.


Member Typedef Documentation

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

Definition at line 170 of file service_callback_helper.h.

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

Definition at line 171 of file service_callback_helper.h.

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

Definition at line 168 of file service_callback_helper.h.

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

Definition at line 166 of file service_callback_helper.h.

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

Definition at line 172 of file service_callback_helper.h.

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

Definition at line 169 of file service_callback_helper.h.

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

Definition at line 167 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 174 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 187 of file service_callback_helper.h.


Member Data Documentation

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

Definition at line 206 of file service_callback_helper.h.

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

Definition at line 207 of file service_callback_helper.h.

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

Definition at line 208 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 Mon Oct 6 2014 11:46:44