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

ros::SubscriberLink::SubscriberLink ( )

Definition at line 36 of file subscriber_link.cpp.

ros::SubscriberLink::~SubscriberLink ( )
virtual

Definition at line 42 of file subscriber_link.cpp.

Member Function Documentation

virtual void ros::SubscriberLink::drop ( )
pure virtual
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.

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

Definition at line 67 of file subscriber_link.h.

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

Definition at line 75 of file subscriber_link.cpp.

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

Definition at line 66 of file subscriber_link.h.

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

Definition at line 69 of file subscriber_link.cpp.

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

Definition at line 81 of file subscriber_link.cpp.

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.

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

Definition at line 65 of file subscriber_link.h.

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

Definition at line 64 of file subscriber_link.h.

virtual std::string ros::SubscriberLink::getTransportInfo ( )
pure virtual
virtual std::string ros::SubscriberLink::getTransportType ( )
pure virtual
virtual bool ros::SubscriberLink::isIntraprocess ( )
inlinevirtual

Reimplemented in ros::IntraProcessSubscriberLink.

Definition at line 79 of file subscriber_link.h.

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

Definition at line 47 of file subscriber_link.cpp.

Member Data Documentation

unsigned int ros::SubscriberLink::connection_id_
protected

Definition at line 90 of file subscriber_link.h.

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

Definition at line 91 of file subscriber_link.h.

PublicationWPtr ros::SubscriberLink::parent_
protected

Definition at line 89 of file subscriber_link.h.

Stats ros::SubscriberLink::stats_
protected

Definition at line 92 of file subscriber_link.h.

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
autogenerated on Sun Feb 3 2019 03:29:54