Classes | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ros::SubscriberLink Class Referenceabstract

#include <subscriber_link.h>

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

Classes

class  Stats
 

Public Member Functions

virtual void drop ()=0
 
virtual void enqueueMessage (const SerializedMessage &m, bool ser, bool nocopy)=0
 Queue up a message for publication. Throws out old messages if we've reached our Publication's max queue size. More...
 
int getConnectionID () const
 
const std::string & getDataType ()
 
const std::string & getDestinationCallerID () const
 
const std::string & getMD5Sum ()
 
const std::string & getMessageDefinition ()
 
virtual void getPublishTypes (bool &ser, bool &nocopy, const std::type_info &ti)
 
const StatsgetStats ()
 
const std::string & getTopic () const
 
virtual std::string getTransportInfo ()=0
 
virtual std::string getTransportType ()=0
 
virtual bool isIntraprocess ()
 
 SubscriberLink ()
 
virtual ~SubscriberLink ()
 

Protected Member Functions

bool verifyDatatype (const std::string &datatype)
 

Protected Attributes

unsigned int connection_id_
 
std::string destination_caller_id_
 
PublicationWPtr parent_
 
Stats stats_
 
std::string topic_
 

Detailed Description

Definition at line 50 of file subscriber_link.h.

Constructor & Destructor Documentation

◆ SubscriberLink()

ros::SubscriberLink::SubscriberLink ( )

Definition at line 36 of file subscriber_link.cpp.

◆ ~SubscriberLink()

ros::SubscriberLink::~SubscriberLink ( )
virtual

Definition at line 42 of file subscriber_link.cpp.

Member Function Documentation

◆ drop()

virtual void ros::SubscriberLink::drop ( )
pure virtual

◆ enqueueMessage()

virtual void ros::SubscriberLink::enqueueMessage ( const SerializedMessage m,
bool  ser,
bool  nocopy 
)
pure virtual

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

Implemented in ros::IntraProcessSubscriberLink, and ros::TransportSubscriberLink.

◆ getConnectionID()

int ros::SubscriberLink::getConnectionID ( ) const
inline

Definition at line 67 of file subscriber_link.h.

◆ getDataType()

const std::string & ros::SubscriberLink::getDataType ( )

Definition at line 75 of file subscriber_link.cpp.

◆ getDestinationCallerID()

const std::string& ros::SubscriberLink::getDestinationCallerID ( ) const
inline

Definition at line 66 of file subscriber_link.h.

◆ getMD5Sum()

const std::string & ros::SubscriberLink::getMD5Sum ( )

Definition at line 69 of file subscriber_link.cpp.

◆ getMessageDefinition()

const std::string & ros::SubscriberLink::getMessageDefinition ( )

Definition at line 81 of file subscriber_link.cpp.

◆ getPublishTypes()

virtual void ros::SubscriberLink::getPublishTypes ( bool &  ser,
bool &  nocopy,
const std::type_info &  ti 
)
inlinevirtual

Reimplemented in ros::IntraProcessSubscriberLink.

Definition at line 80 of file subscriber_link.h.

◆ getStats()

const Stats& ros::SubscriberLink::getStats ( )
inline

Definition at line 65 of file subscriber_link.h.

◆ getTopic()

const std::string& ros::SubscriberLink::getTopic ( ) const
inline

Definition at line 64 of file subscriber_link.h.

◆ getTransportInfo()

virtual std::string ros::SubscriberLink::getTransportInfo ( )
pure virtual

◆ getTransportType()

virtual std::string ros::SubscriberLink::getTransportType ( )
pure virtual

◆ isIntraprocess()

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

Reimplemented in ros::IntraProcessSubscriberLink.

Definition at line 79 of file subscriber_link.h.

◆ verifyDatatype()

bool ros::SubscriberLink::verifyDatatype ( const std::string &  datatype)
protected

Definition at line 47 of file subscriber_link.cpp.

Member Data Documentation

◆ connection_id_

unsigned int ros::SubscriberLink::connection_id_
protected

Definition at line 90 of file subscriber_link.h.

◆ destination_caller_id_

std::string ros::SubscriberLink::destination_caller_id_
protected

Definition at line 91 of file subscriber_link.h.

◆ parent_

PublicationWPtr ros::SubscriberLink::parent_
protected

Definition at line 89 of file subscriber_link.h.

◆ stats_

Stats ros::SubscriberLink::stats_
protected

Definition at line 92 of file subscriber_link.h.

◆ topic_

std::string ros::SubscriberLink::topic_
protected

Definition at line 93 of file 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 , Jacob Perron
autogenerated on Sat Sep 14 2024 02:59:36