$search
#include <subscriber_link.h>
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 Stats & | getStats () |
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_ |
Definition at line 50 of file subscriber_link.h.
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.
virtual void ros::SubscriberLink::drop | ( | ) | [pure virtual] |
Implemented in ros::IntraProcessSubscriberLink, and ros::TransportSubscriberLink.
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] |
Implemented in ros::IntraProcessSubscriberLink, and ros::TransportSubscriberLink.
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.
unsigned int ros::SubscriberLink::connection_id_ [protected] |
Definition at line 89 of file subscriber_link.h.
std::string ros::SubscriberLink::destination_caller_id_ [protected] |
Definition at line 90 of file subscriber_link.h.
PublicationWPtr ros::SubscriberLink::parent_ [protected] |
Definition at line 88 of file subscriber_link.h.
Stats ros::SubscriberLink::stats_ [protected] |
Definition at line 91 of file subscriber_link.h.
std::string ros::SubscriberLink::topic_ [protected] |
Definition at line 92 of file subscriber_link.h.