ros::SubscriberLink Class Reference

#include <subscriber_link.h>

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

List of all members.

Classes

class  Stats

Public Member Functions

virtual void drop ()=0
virtual void enqueueMessage (const SerializedMessage &m, bool nocopy, bool ser)=0
 Queue up a message for publication. Throws out old messages if we've reached our Publication's max queue size.
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 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 41 of file subscriber_link.cpp.


Member Function Documentation

virtual void ros::SubscriberLink::drop (  )  [pure virtual]
virtual void ros::SubscriberLink::enqueueMessage ( const SerializedMessage &  m,
bool  nocopy,
bool  ser 
) [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 74 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 68 of file subscriber_link.cpp.

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

Definition at line 80 of file subscriber_link.cpp.

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

Reimplemented in ros::IntraProcessSubscriberLink.

Definition at line 79 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::getTransportType (  )  [pure virtual]
virtual bool ros::SubscriberLink::isIntraprocess (  )  [inline, virtual]

Reimplemented in ros::IntraProcessSubscriberLink.

Definition at line 78 of file subscriber_link.h.

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

Definition at line 46 of file subscriber_link.cpp.


Member Data Documentation

unsigned int ros::SubscriberLink::connection_id_ [protected]

Definition at line 89 of file subscriber_link.h.

Definition at line 90 of file subscriber_link.h.

Definition at line 88 of file subscriber_link.h.

Definition at line 91 of file subscriber_link.h.

std::string ros::SubscriberLink::topic_ [protected]

Definition at line 92 of file subscriber_link.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


roscpp
Author(s): Morgan Quigley mquigley@cs.stanford.edu, Josh Faust jfaust@willowgarage.com, Brian Gerkey gerkey@willowgarage.com
autogenerated on Fri Jan 11 10:08:41 2013