Public Member Functions | Private Attributes
ros::IntraProcessSubscriberLink Class Reference

SubscriberLink handles broadcasting messages to a single subscriber on a single topic. More...

#include <intraprocess_subscriber_link.h>

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

List of all members.

Public Member Functions

virtual void drop ()
virtual void enqueueMessage (const SerializedMessage &m, bool ser, bool nocopy)
 Queue up a message for publication. Throws out old messages if we've reached our Publication's max queue size.
virtual void getPublishTypes (bool &ser, bool &nocopy, const std::type_info &ti)
virtual std::string getTransportInfo ()
virtual std::string getTransportType ()
 IntraProcessSubscriberLink (const PublicationPtr &parent)
virtual bool isIntraprocess ()
bool isLatching ()
void setSubscriber (const IntraProcessPublisherLinkPtr &subscriber)
virtual ~IntraProcessSubscriberLink ()

Private Attributes

boost::recursive_mutex drop_mutex_
bool dropped_
IntraProcessPublisherLinkPtr subscriber_

Detailed Description

SubscriberLink handles broadcasting messages to a single subscriber on a single topic.

Definition at line 44 of file intraprocess_subscriber_link.h.


Constructor & Destructor Documentation

Definition at line 45 of file intraprocess_subscriber_link.cpp.

Definition at line 53 of file intraprocess_subscriber_link.cpp.


Member Function Documentation

Implements ros::SubscriberLink.

Definition at line 97 of file intraprocess_subscriber_link.cpp.

void ros::IntraProcessSubscriberLink::enqueueMessage ( const SerializedMessage m,
bool  ser,
bool  nocopy 
) [virtual]

Queue up a message for publication. Throws out old messages if we've reached our Publication's max queue size.

Implements ros::SubscriberLink.

Definition at line 74 of file intraprocess_subscriber_link.cpp.

void ros::IntraProcessSubscriberLink::getPublishTypes ( bool &  ser,
bool &  nocopy,
const std::type_info &  ti 
) [virtual]

Reimplemented from ros::SubscriberLink.

Definition at line 123 of file intraprocess_subscriber_link.cpp.

Implements ros::SubscriberLink.

Definition at line 91 of file intraprocess_subscriber_link.cpp.

Implements ros::SubscriberLink.

Definition at line 86 of file intraprocess_subscriber_link.cpp.

virtual bool ros::IntraProcessSubscriberLink::isIntraprocess ( ) [inline, virtual]

Reimplemented from ros::SubscriberLink.

Definition at line 57 of file intraprocess_subscriber_link.h.

Definition at line 64 of file intraprocess_subscriber_link.cpp.

void ros::IntraProcessSubscriberLink::setSubscriber ( const IntraProcessPublisherLinkPtr &  subscriber)

Definition at line 57 of file intraprocess_subscriber_link.cpp.


Member Data Documentation

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

Definition at line 63 of file intraprocess_subscriber_link.h.

Definition at line 62 of file intraprocess_subscriber_link.h.

IntraProcessPublisherLinkPtr ros::IntraProcessSubscriberLink::subscriber_ [private]

Definition at line 61 of file intraprocess_subscriber_link.h.


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


roscpp
Author(s): Morgan Quigley, Josh Faust, Brian Gerkey, Troy Straszheim
autogenerated on Tue Mar 7 2017 04:01:04