Concrete generic implementation of ServiceCallbackHelper for any normal service type. More...
#include <service_callback_helper.h>
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 ¶ms) |
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_ |
Concrete generic implementation of ServiceCallbackHelper for any normal service type.
Definition at line 157 of file service_callback_helper.h.
typedef Spec::CallbackType ros::ServiceCallbackHelperT< Spec >::Callback |
Definition at line 164 of file service_callback_helper.h.
typedef boost::function<RequestPtr()> ros::ServiceCallbackHelperT< Spec >::ReqCreateFunction |
Definition at line 165 of file service_callback_helper.h.
typedef Spec::RequestPtr ros::ServiceCallbackHelperT< Spec >::RequestPtr |
Definition at line 162 of file service_callback_helper.h.
typedef Spec::RequestType ros::ServiceCallbackHelperT< Spec >::RequestType |
Definition at line 160 of file service_callback_helper.h.
typedef boost::function<ResponsePtr()> ros::ServiceCallbackHelperT< Spec >::ResCreateFunction |
Definition at line 166 of file service_callback_helper.h.
typedef Spec::ResponsePtr ros::ServiceCallbackHelperT< Spec >::ResponsePtr |
Definition at line 163 of file service_callback_helper.h.
typedef Spec::ResponseType ros::ServiceCallbackHelperT< Spec >::ResponseType |
Definition at line 161 of file service_callback_helper.h.
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.
virtual bool ros::ServiceCallbackHelperT< Spec >::call | ( | ServiceCallbackHelperCallParams & | params | ) | [inline, virtual] |
Implements ros::ServiceCallbackHelper.
Definition at line 181 of file service_callback_helper.h.
Callback ros::ServiceCallbackHelperT< Spec >::callback_ [private] |
Definition at line 200 of file service_callback_helper.h.
ReqCreateFunction ros::ServiceCallbackHelperT< Spec >::create_req_ [private] |
Definition at line 201 of file service_callback_helper.h.
ResCreateFunction ros::ServiceCallbackHelperT< Spec >::create_res_ [private] |
Definition at line 202 of file service_callback_helper.h.