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 163 of file service_callback_helper.h.
typedef Spec::CallbackType ros::ServiceCallbackHelperT< Spec >::Callback |
Definition at line 170 of file service_callback_helper.h.
typedef boost::function<RequestPtr()> ros::ServiceCallbackHelperT< Spec >::ReqCreateFunction |
Definition at line 171 of file service_callback_helper.h.
typedef Spec::RequestPtr ros::ServiceCallbackHelperT< Spec >::RequestPtr |
Definition at line 168 of file service_callback_helper.h.
typedef Spec::RequestType ros::ServiceCallbackHelperT< Spec >::RequestType |
Definition at line 166 of file service_callback_helper.h.
typedef boost::function<ResponsePtr()> ros::ServiceCallbackHelperT< Spec >::ResCreateFunction |
Definition at line 172 of file service_callback_helper.h.
typedef Spec::ResponsePtr ros::ServiceCallbackHelperT< Spec >::ResponsePtr |
Definition at line 169 of file service_callback_helper.h.
typedef Spec::ResponseType ros::ServiceCallbackHelperT< Spec >::ResponseType |
Definition at line 167 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 174 of file service_callback_helper.h.
virtual bool ros::ServiceCallbackHelperT< Spec >::call | ( | ServiceCallbackHelperCallParams & | params | ) | [inline, virtual] |
Implements ros::ServiceCallbackHelper.
Definition at line 187 of file service_callback_helper.h.
Callback ros::ServiceCallbackHelperT< Spec >::callback_ [private] |
Definition at line 206 of file service_callback_helper.h.
ReqCreateFunction ros::ServiceCallbackHelperT< Spec >::create_req_ [private] |
Definition at line 207 of file service_callback_helper.h.
ResCreateFunction ros::ServiceCallbackHelperT< Spec >::create_res_ [private] |
Definition at line 208 of file service_callback_helper.h.