Public Member Functions | Private Attributes | List of all members
roswrap::IntraProcessPublisherLink Class Reference

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>

Inheritance diagram for roswrap::IntraProcessPublisherLink:
Inheritance graph
[legend]

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 ()
 

Private Attributes

boost::recursive_mutex drop_mutex_
 
bool dropped_
 
IntraProcessSubscriberLinkPtr publisher_
 

Additional Inherited Members

Detailed Description

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 50 of file intraprocess_publisher_link.h.

Constructor & Destructor Documentation

◆ IntraProcessPublisherLink()

roswrap::IntraProcessPublisherLink::IntraProcessPublisherLink ( const SubscriptionPtr parent,
const std::string &  xmlrpc_uri,
const TransportHints transport_hints 
)

◆ ~IntraProcessPublisherLink()

virtual roswrap::IntraProcessPublisherLink::~IntraProcessPublisherLink ( )
virtual

Member Function Documentation

◆ drop()

virtual void roswrap::IntraProcessPublisherLink::drop ( )
virtual

◆ getPublishTypes()

void roswrap::IntraProcessPublisherLink::getPublishTypes ( bool &  ser,
bool &  nocopy,
const std::type_info &  ti 
)

◆ getTransportInfo()

virtual std::string roswrap::IntraProcessPublisherLink::getTransportInfo ( )
virtual

◆ getTransportType()

virtual std::string roswrap::IntraProcessPublisherLink::getTransportType ( )
virtual

◆ handleMessage()

virtual void roswrap::IntraProcessPublisherLink::handleMessage ( const SerializedMessage m,
bool  ser,
bool  nocopy 
)
virtual

Handles handing off a received message to the subscription, where it will be deserialized and called back.

Implements roswrap::PublisherLink.

◆ setPublisher()

void roswrap::IntraProcessPublisherLink::setPublisher ( const IntraProcessSubscriberLinkPtr publisher)

Member Data Documentation

◆ drop_mutex_

boost::recursive_mutex roswrap::IntraProcessPublisherLink::drop_mutex_
private

Definition at line 72 of file intraprocess_publisher_link.h.

◆ dropped_

bool roswrap::IntraProcessPublisherLink::dropped_
private

Definition at line 71 of file intraprocess_publisher_link.h.

◆ publisher_

IntraProcessSubscriberLinkPtr roswrap::IntraProcessPublisherLink::publisher_
private

Definition at line 70 of file intraprocess_publisher_link.h.


The documentation for this class was generated from the following file:


sick_scan_xd
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:15