Handles a connection to a single publisher on a given topic. Receives messages from a publisher and hands them off to its parent Subscription. More...
#include <intraprocess_publisher_link.h>
Public Member Functions | |
virtual void | drop () |
void | getPublishTypes (bool &ser, bool &nocopy, const std::type_info &ti) |
virtual std::string | getTransportInfo () |
virtual std::string | getTransportType () |
virtual void | handleMessage (const SerializedMessage &m, bool ser, bool nocopy) |
Handles handing off a received message to the subscription, where it will be deserialized and called back. More... | |
IntraProcessPublisherLink (const SubscriptionPtr &parent, const std::string &xmlrpc_uri, const TransportHints &transport_hints) | |
void | setPublisher (const IntraProcessSubscriberLinkPtr &publisher) |
virtual | ~IntraProcessPublisherLink () |
Public Member Functions inherited from ros::PublisherLink | |
const std::string & | getCallerID () |
int | getConnectionID () const |
const std::string & | getMD5Sum () |
const std::string & | getPublisherXMLRPCURI () |
const Stats & | getStats () |
bool | isLatched () |
PublisherLink (const SubscriptionPtr &parent, const std::string &xmlrpc_uri, const TransportHints &transport_hints) | |
bool | setHeader (const Header &header) |
virtual | ~PublisherLink () |
Private Attributes | |
boost::recursive_mutex | drop_mutex_ |
bool | dropped_ |
IntraProcessSubscriberLinkPtr | publisher_ |
Additional Inherited Members | |
Protected Attributes inherited from ros::PublisherLink | |
std::string | caller_id_ |
unsigned int | connection_id_ |
Header | header_ |
bool | latched_ |
std::string | md5sum_ |
SubscriptionWPtr | parent_ |
std::string | publisher_xmlrpc_uri_ |
Stats | stats_ |
TransportHints | transport_hints_ |
Handles a connection to a single publisher on a given topic. Receives messages from a publisher and hands them off to its parent Subscription.
Definition at line 49 of file intraprocess_publisher_link.h.
ros::IntraProcessPublisherLink::IntraProcessPublisherLink | ( | const SubscriptionPtr & | parent, |
const std::string & | xmlrpc_uri, | ||
const TransportHints & | transport_hints | ||
) |
Definition at line 52 of file intraprocess_publisher_link.cpp.
|
virtual |
Definition at line 58 of file intraprocess_publisher_link.cpp.
|
virtual |
Implements ros::PublisherLink.
Definition at line 80 of file intraprocess_publisher_link.cpp.
void ros::IntraProcessPublisherLink::getPublishTypes | ( | bool & | ser, |
bool & | nocopy, | ||
const std::type_info & | ti | ||
) |
Definition at line 136 of file intraprocess_publisher_link.cpp.
|
virtual |
Implements ros::PublisherLink.
Definition at line 130 of file intraprocess_publisher_link.cpp.
|
virtual |
Implements ros::PublisherLink.
Definition at line 125 of file intraprocess_publisher_link.cpp.
|
virtual |
Handles handing off a received message to the subscription, where it will be deserialized and called back.
Implements ros::PublisherLink.
Definition at line 106 of file intraprocess_publisher_link.cpp.
void ros::IntraProcessPublisherLink::setPublisher | ( | const IntraProcessSubscriberLinkPtr & | publisher | ) |
Definition at line 62 of file intraprocess_publisher_link.cpp.
|
private |
Definition at line 71 of file intraprocess_publisher_link.h.
|
private |
Definition at line 70 of file intraprocess_publisher_link.h.
|
private |
Definition at line 69 of file intraprocess_publisher_link.h.