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


Member Typedef Documentation

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

Definition at line 164 of file service_callback_helper.h.

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

Definition at line 165 of file service_callback_helper.h.

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

Definition at line 162 of file service_callback_helper.h.

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

Definition at line 160 of file service_callback_helper.h.

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

Definition at line 166 of file service_callback_helper.h.

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

Definition at line 163 of file service_callback_helper.h.

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

Definition at line 161 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 168 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 181 of file service_callback_helper.h.


Member Data Documentation

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

Definition at line 200 of file service_callback_helper.h.

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

Definition at line 201 of file service_callback_helper.h.

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

Definition at line 202 of file service_callback_helper.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


roscpp
Author(s): Morgan Quigley mquigley@cs.stanford.edu, Josh Faust jfaust@willowgarage.com, Brian Gerkey gerkey@willowgarage.com
autogenerated on Fri Jan 11 10:08:41 2013