#include <publisher_impl.h>
Public Member Functions | |
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 typename M::ConstPtr &message) const |
void | publish (const M &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_ |
boost::ptr_vector < 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.
PublisherPlugin<M>* message_transport::PublisherImpl< M >::addInstance | ( | const std::string & | name | ) | [inline] |
Definition at line 141 of file publisher_impl.h.
virtual std::vector<std::string> message_transport::PublisherImpl< M >::getDeclaredClasses | ( | ) | [inline, virtual] |
Implements message_transport::PublisherImplGen.
Definition at line 137 of file publisher_impl.h.
uint32_t message_transport::PublisherImpl< M >::getNumPublishers | ( | ) | const [inline] |
Definition at line 147 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 typename M::ConstPtr & | message | ) | const [inline] |
Reimplemented from message_transport::PublisherImplGen.
Definition at line 159 of file publisher_impl.h.
void message_transport::PublisherImpl< M >::publish | ( | const M & | message | ) | const [inline] |
Reimplemented from message_transport::PublisherImplGen.
Definition at line 151 of file publisher_impl.h.
virtual void message_transport::PublisherImpl< M >::shutdownImpl | ( | ) | [inline, virtual] |
Implements message_transport::PublisherImplGen.
Definition at line 127 of file publisher_impl.h.
pluginlib::ClassLoader< PublisherPlugin<M> > message_transport::PublisherImpl< M >::loader_ [protected] |
Definition at line 167 of file publisher_impl.h.
boost::ptr_vector< PublisherPlugin<M> > message_transport::PublisherImpl< M >::publishers_ [protected] |
Definition at line 168 of file publisher_impl.h.