#include <subscriber.h>
Public Types | |
typedef void(* | CallbackT )(const MsgT &) |
Public Member Functions | |
virtual void | callback (unsigned char *data) |
virtual int | getEndpointType () |
virtual const char * | getMsgMD5 () |
virtual const char * | getMsgType () |
Subscriber (const char *topic_name, CallbackT cb, int endpoint=rosserial_msgs::TopicInfo::ID_SUBSCRIBER) | |
Public Attributes | |
MsgT | msg |
Private Attributes | |
CallbackT | cb_ |
int | endpoint_ |
Definition at line 60 of file subscriber.h.
typedef void(* ros::Subscriber< MsgT >::CallbackT)(const MsgT &) |
Definition at line 62 of file subscriber.h.
ros::Subscriber< MsgT >::Subscriber | ( | const char * | topic_name, |
CallbackT | cb, | ||
int | endpoint = rosserial_msgs::TopicInfo::ID_SUBSCRIBER |
||
) | [inline] |
Definition at line 65 of file subscriber.h.
virtual void ros::Subscriber< MsgT >::callback | ( | unsigned char * | data | ) | [inline, virtual] |
Implements ros::Subscriber_.
Definition at line 72 of file subscriber.h.
virtual int ros::Subscriber< MsgT >::getEndpointType | ( | ) | [inline, virtual] |
Implements ros::Subscriber_.
Definition at line 79 of file subscriber.h.
virtual const char* ros::Subscriber< MsgT >::getMsgMD5 | ( | ) | [inline, virtual] |
Implements ros::Subscriber_.
Definition at line 78 of file subscriber.h.
virtual const char* ros::Subscriber< MsgT >::getMsgType | ( | ) | [inline, virtual] |
Implements ros::Subscriber_.
Definition at line 77 of file subscriber.h.
CallbackT ros::Subscriber< MsgT >::cb_ [private] |
Definition at line 82 of file subscriber.h.
int ros::Subscriber< MsgT >::endpoint_ [private] |
Definition at line 83 of file subscriber.h.
MsgT ros::Subscriber< MsgT >::msg |
Definition at line 63 of file subscriber.h.