ros::IntraProcessPublisherLink Class Reference

Handles a connection to a single publisher on a given topic. Receives messages from a publisher and hands them off to its parent Subscription. More...

#include <intraprocess_publisher_link.h>

Inheritance diagram for ros::IntraProcessPublisherLink:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void drop ()
void getPublishTypes (bool &ser, bool &nocopy, const std::type_info &ti)
virtual std::string getTransportType ()
virtual void handleMessage (const SerializedMessage &m, bool ser, bool nocopy)
 Handles handing off a received message to the subscription, where it will be deserialized and called back.
 IntraProcessPublisherLink (const SubscriptionPtr &parent, const std::string &xmlrpc_uri, const TransportHints &transport_hints)
void setPublisher (const IntraProcessSubscriberLinkPtr &publisher)
virtual ~IntraProcessPublisherLink ()

Private Attributes

boost::recursive_mutex drop_mutex_
bool dropped_
IntraProcessSubscriberLinkPtr publisher_

Detailed Description

Handles a connection to a single publisher on a given topic. Receives messages from a publisher and hands them off to its parent Subscription.

Definition at line 44 of file intraprocess_publisher_link.h.


Constructor & Destructor Documentation

ros::IntraProcessPublisherLink::IntraProcessPublisherLink ( const SubscriptionPtr parent,
const std::string &  xmlrpc_uri,
const TransportHints transport_hints 
)

Definition at line 40 of file intraprocess_publisher_link.cpp.

ros::IntraProcessPublisherLink::~IntraProcessPublisherLink (  )  [virtual]

Definition at line 46 of file intraprocess_publisher_link.cpp.


Member Function Documentation

void ros::IntraProcessPublisherLink::drop (  )  [virtual]

Implements ros::PublisherLink.

Definition at line 68 of file intraprocess_publisher_link.cpp.

void ros::IntraProcessPublisherLink::getPublishTypes ( bool &  ser,
bool &  nocopy,
const std::type_info &  ti 
)

Definition at line 118 of file intraprocess_publisher_link.cpp.

std::string ros::IntraProcessPublisherLink::getTransportType (  )  [virtual]

Implements ros::PublisherLink.

Definition at line 113 of file intraprocess_publisher_link.cpp.

void ros::IntraProcessPublisherLink::handleMessage ( const SerializedMessage &  m,
bool  ser,
bool  nocopy 
) [virtual]

Handles handing off a received message to the subscription, where it will be deserialized and called back.

Implements ros::PublisherLink.

Definition at line 94 of file intraprocess_publisher_link.cpp.

void ros::IntraProcessPublisherLink::setPublisher ( const IntraProcessSubscriberLinkPtr publisher  ) 

Definition at line 50 of file intraprocess_publisher_link.cpp.


Member Data Documentation

boost::recursive_mutex ros::IntraProcessPublisherLink::drop_mutex_ [private]

Definition at line 65 of file intraprocess_publisher_link.h.

Definition at line 64 of file intraprocess_publisher_link.h.

Definition at line 63 of file intraprocess_publisher_link.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


roscpp
Author(s): Morgan Quigley mquigley@cs.stanford.edu, Josh Faust jfaust@willowgarage.com, Brian Gerkey gerkey@willowgarage.com
autogenerated on Fri Jan 11 10:08:40 2013