#include <publisher_impl.h>
Public Member Functions | |
boost::shared_ptr < PublisherPlugin< M > > | addInstance (const std::string &name) |
virtual std::vector< std::string > | getDeclaredClasses () |
uint32_t | getNumPublishers () const |
virtual uint32_t | getNumSubscribers () const |
void | publish (const M &message) const |
void | publish (const typename M::ConstPtr &message) const |
PublisherImpl (const std::string &topic, const std::string &packageName, const std::string &className) | |
virtual void | shutdownImpl () |
virtual | ~PublisherImpl () |
Protected Attributes | |
pluginlib::ClassLoader < PublisherPlugin< M > > | loader_ |
std::vector< boost::shared_ptr < PublisherPlugin< M > > > | publishers_ |
Definition at line 104 of file publisher_impl.h.
message_transport::PublisherImpl< M >::PublisherImpl | ( | const std::string & | topic, |
const std::string & | packageName, | ||
const std::string & | className | ||
) | [inline] |
Definition at line 107 of file publisher_impl.h.
virtual message_transport::PublisherImpl< M >::~PublisherImpl | ( | ) | [inline, virtual] |
Definition at line 115 of file publisher_impl.h.
boost::shared_ptr< PublisherPlugin<M> > message_transport::PublisherImpl< M >::addInstance | ( | const std::string & | name | ) | [inline] |
Definition at line 143 of file publisher_impl.h.
virtual std::vector<std::string> message_transport::PublisherImpl< M >::getDeclaredClasses | ( | ) | [inline, virtual] |
Implements message_transport::PublisherImplGen.
Definition at line 139 of file publisher_impl.h.
uint32_t message_transport::PublisherImpl< M >::getNumPublishers | ( | ) | const [inline] |
Definition at line 153 of file publisher_impl.h.
virtual uint32_t message_transport::PublisherImpl< M >::getNumSubscribers | ( | ) | const [inline, virtual] |
Implements message_transport::PublisherImplGen.
Definition at line 119 of file publisher_impl.h.
void message_transport::PublisherImpl< M >::publish | ( | const M & | message | ) | const [inline] |
Reimplemented from message_transport::PublisherImplGen.
Definition at line 157 of file publisher_impl.h.
void message_transport::PublisherImpl< M >::publish | ( | const typename M::ConstPtr & | message | ) | const [inline] |
Reimplemented from message_transport::PublisherImplGen.
Definition at line 165 of file publisher_impl.h.
virtual void message_transport::PublisherImpl< M >::shutdownImpl | ( | ) | [inline, virtual] |
Implements message_transport::PublisherImplGen.
Definition at line 128 of file publisher_impl.h.
pluginlib::ClassLoader< PublisherPlugin<M> > message_transport::PublisherImpl< M >::loader_ [protected] |
Definition at line 173 of file publisher_impl.h.
std::vector<boost::shared_ptr< PublisherPlugin<M> > > message_transport::PublisherImpl< M >::publishers_ [protected] |
Definition at line 174 of file publisher_impl.h.