Public Member Functions | Private Attributes | List of all members
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]

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. More...
 
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_
 

Additional Inherited Members

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

ros::IntraProcessSubscriberLink::IntraProcessSubscriberLink ( const PublicationPtr parent)

Definition at line 45 of file intraprocess_subscriber_link.cpp.

ros::IntraProcessSubscriberLink::~IntraProcessSubscriberLink ( )
virtual

Definition at line 53 of file intraprocess_subscriber_link.cpp.

Member Function Documentation

void ros::IntraProcessSubscriberLink::drop ( )
virtual

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.

std::string ros::IntraProcessSubscriberLink::getTransportInfo ( )
virtual

Implements ros::SubscriberLink.

Definition at line 91 of file intraprocess_subscriber_link.cpp.

std::string ros::IntraProcessSubscriberLink::getTransportType ( )
virtual

Implements ros::SubscriberLink.

Definition at line 86 of file intraprocess_subscriber_link.cpp.

virtual bool ros::IntraProcessSubscriberLink::isIntraprocess ( )
inlinevirtual

Reimplemented from ros::SubscriberLink.

Definition at line 57 of file intraprocess_subscriber_link.h.

bool ros::IntraProcessSubscriberLink::isLatching ( )

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.

bool ros::IntraProcessSubscriberLink::dropped_
private

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 Wed Dec 20 2017 03:58:41