#include <service_server.h>
Public Types | |
typedef void(* | CallbackT )(const MReq &, MRes &) |
Public Member Functions | |
virtual void | callback (unsigned char *data) |
virtual int | getEndpointType () |
virtual const char * | getMsgMD5 () |
virtual const char * | getMsgType () |
ServiceServer (const char *topic_name, CallbackT cb) | |
Public Attributes | |
Publisher | pub |
MReq | req |
MRes | resp |
Private Attributes | |
CallbackT | cb_ |
Definition at line 46 of file service_server.h.
typedef void(* ros::ServiceServer< MReq, MRes >::CallbackT)(const MReq &, MRes &) |
Definition at line 48 of file service_server.h.
ros::ServiceServer< MReq, MRes >::ServiceServer | ( | const char * | topic_name, |
CallbackT | cb | ||
) | [inline] |
Definition at line 50 of file service_server.h.
virtual void ros::ServiceServer< MReq, MRes >::callback | ( | unsigned char * | data | ) | [inline, virtual] |
Implements ros::Subscriber_.
Definition at line 58 of file service_server.h.
virtual int ros::ServiceServer< MReq, MRes >::getEndpointType | ( | ) | [inline, virtual] |
Implements ros::Subscriber_.
Definition at line 65 of file service_server.h.
virtual const char* ros::ServiceServer< MReq, MRes >::getMsgMD5 | ( | ) | [inline, virtual] |
Implements ros::Subscriber_.
Definition at line 64 of file service_server.h.
virtual const char* ros::ServiceServer< MReq, MRes >::getMsgType | ( | ) | [inline, virtual] |
Implements ros::Subscriber_.
Definition at line 63 of file service_server.h.
CallbackT ros::ServiceServer< MReq, MRes >::cb_ [private] |
Definition at line 71 of file service_server.h.
Publisher ros::ServiceServer< MReq, MRes >::pub |
Definition at line 69 of file service_server.h.
MReq ros::ServiceServer< MReq, MRes >::req |
Definition at line 67 of file service_server.h.
MRes ros::ServiceServer< MReq, MRes >::resp |
Definition at line 68 of file service_server.h.