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

◆ IntraProcessSubscriberLink()

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

Definition at line 45 of file intraprocess_subscriber_link.cpp.

◆ ~IntraProcessSubscriberLink()

ros::IntraProcessSubscriberLink::~IntraProcessSubscriberLink ( )
virtual

Definition at line 53 of file intraprocess_subscriber_link.cpp.

Member Function Documentation

◆ drop()

void ros::IntraProcessSubscriberLink::drop ( )
virtual

Implements ros::SubscriberLink.

Definition at line 97 of file intraprocess_subscriber_link.cpp.

◆ enqueueMessage()

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.

◆ getPublishTypes()

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.

◆ getTransportInfo()

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

Implements ros::SubscriberLink.

Definition at line 91 of file intraprocess_subscriber_link.cpp.

◆ getTransportType()

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

Implements ros::SubscriberLink.

Definition at line 86 of file intraprocess_subscriber_link.cpp.

◆ isIntraprocess()

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

Reimplemented from ros::SubscriberLink.

Definition at line 57 of file intraprocess_subscriber_link.h.

◆ isLatching()

bool ros::IntraProcessSubscriberLink::isLatching ( )

Definition at line 64 of file intraprocess_subscriber_link.cpp.

◆ setSubscriber()

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

Definition at line 57 of file intraprocess_subscriber_link.cpp.

Member Data Documentation

◆ drop_mutex_

boost::recursive_mutex ros::IntraProcessSubscriberLink::drop_mutex_
private

Definition at line 63 of file intraprocess_subscriber_link.h.

◆ dropped_

bool ros::IntraProcessSubscriberLink::dropped_
private

Definition at line 62 of file intraprocess_subscriber_link.h.

◆ subscriber_

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, Dirk Thomas
autogenerated on Mon Feb 28 2022 23:33:27