kitt_platform
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Macros
Public Member Functions | Public Attributes | Private Attributes | List of all members
ros::Publisher Class Reference

#include <publisher.h>

Collaboration diagram for ros::Publisher:
Collaboration graph
[legend]

Public Member Functions

 Publisher (const char *topic_name, Msg *msg, int endpoint=rosserial_msgs::TopicInfo::ID_PUBLISHER)
 
int publish (const Msg *msg)
 
int getEndpointType ()
 

Public Attributes

const char * topic_
 
Msgmsg_
 
int id_
 
NodeHandleBase_nh_
 

Private Attributes

int endpoint_
 

Constructor & Destructor Documentation

ros::Publisher::Publisher ( const char *  topic_name,
Msg msg,
int  endpoint = rosserial_msgs::TopicInfo::ID_PUBLISHER 
)
inline

Member Function Documentation

int ros::Publisher::getEndpointType ( )
inline
int ros::Publisher::publish ( const Msg msg)
inline

Member Data Documentation

int ros::Publisher::endpoint_
private
int ros::Publisher::id_
Msg* ros::Publisher::msg_
NodeHandleBase_* ros::Publisher::nh_
const char* ros::Publisher::topic_

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