Public Types | Public Member Functions | Public Attributes | Private Attributes
ros::Subscriber< MsgT > Class Template Reference

#include <subscriber.h>

Inheritance diagram for ros::Subscriber< MsgT >:
Inheritance graph
[legend]

List of all members.

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_

Detailed Description

template<typename MsgT>
class ros::Subscriber< MsgT >

Definition at line 60 of file subscriber.h.


Member Typedef Documentation

template<typename MsgT>
typedef void(* ros::Subscriber< MsgT >::CallbackT)(const MsgT &)

Definition at line 62 of file subscriber.h.


Constructor & Destructor Documentation

template<typename MsgT>
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.


Member Function Documentation

template<typename MsgT>
virtual void ros::Subscriber< MsgT >::callback ( unsigned char *  data) [inline, virtual]

Implements ros::Subscriber_.

Definition at line 72 of file subscriber.h.

template<typename MsgT>
virtual int ros::Subscriber< MsgT >::getEndpointType ( ) [inline, virtual]

Implements ros::Subscriber_.

Definition at line 79 of file subscriber.h.

template<typename MsgT>
virtual const char* ros::Subscriber< MsgT >::getMsgMD5 ( ) [inline, virtual]

Implements ros::Subscriber_.

Definition at line 78 of file subscriber.h.

template<typename MsgT>
virtual const char* ros::Subscriber< MsgT >::getMsgType ( ) [inline, virtual]

Implements ros::Subscriber_.

Definition at line 77 of file subscriber.h.


Member Data Documentation

template<typename MsgT>
CallbackT ros::Subscriber< MsgT >::cb_ [private]

Definition at line 82 of file subscriber.h.

template<typename MsgT>
int ros::Subscriber< MsgT >::endpoint_ [private]

Definition at line 83 of file subscriber.h.

template<typename MsgT>
MsgT ros::Subscriber< MsgT >::msg

Definition at line 63 of file subscriber.h.


The documentation for this class was generated from the following file:


ric_mc
Author(s): RoboTiCan
autogenerated on Fri May 20 2016 03:48:59