#include <publisher_impl.h>
Public Member Functions | |
virtual std::vector< std::string > | getDeclaredClasses ()=0 |
virtual uint32_t | getNumSubscribers () const =0 |
uint32_t | getNumSubscribersBindable () const |
std::string | getTopic () const |
bool | isValid () const |
template<class M > | |
void | publish (const typename M::ConstPtr &message) const |
template<class M > | |
void | publish (const M &message) const |
PublisherImplGen (const std::string &topic) | |
void | shutdown () |
virtual void | shutdownImpl ()=0 |
template<class M > | |
void | subscriberCB (const SingleSubscriberPublisher< M > &plugin_pub, const typename SingleSubscriberPublisher< M >::StatusCB &user_cb) |
virtual | ~PublisherImplGen () |
Protected Attributes | |
std::string | base_topic_ |
bool | unadvertised_ |
Definition at line 47 of file publisher_impl.h.
message_transport::PublisherImplGen::PublisherImplGen | ( | const std::string & | topic | ) | [inline] |
Definition at line 50 of file publisher_impl.h.
virtual message_transport::PublisherImplGen::~PublisherImplGen | ( | ) | [inline, virtual] |
Definition at line 53 of file publisher_impl.h.
virtual std::vector<std::string> message_transport::PublisherImplGen::getDeclaredClasses | ( | ) | [pure virtual] |
Implemented in message_transport::PublisherImpl< M >.
virtual uint32_t message_transport::PublisherImplGen::getNumSubscribers | ( | ) | const [pure virtual] |
Implemented in message_transport::PublisherImpl< M >.
uint32_t message_transport::PublisherImplGen::getNumSubscribersBindable | ( | ) | const [inline] |
Definition at line 58 of file publisher_impl.h.
std::string message_transport::PublisherImplGen::getTopic | ( | ) | const [inline] |
Definition at line 62 of file publisher_impl.h.
bool message_transport::PublisherImplGen::isValid | ( | ) | const [inline] |
Definition at line 67 of file publisher_impl.h.
void message_transport::PublisherImplGen::publish | ( | const typename M::ConstPtr & | message | ) | const [inline] |
Reimplemented in message_transport::PublisherImpl< M >.
Definition at line 178 of file publisher_impl.h.
void message_transport::PublisherImplGen::publish | ( | const M & | message | ) | const [inline] |
Reimplemented in message_transport::PublisherImpl< M >.
Definition at line 172 of file publisher_impl.h.
void message_transport::PublisherImplGen::shutdown | ( | ) | [inline] |
Definition at line 72 of file publisher_impl.h.
virtual void message_transport::PublisherImplGen::shutdownImpl | ( | ) | [pure virtual] |
Implemented in message_transport::PublisherImpl< M >.
void message_transport::PublisherImplGen::subscriberCB | ( | const SingleSubscriberPublisher< M > & | plugin_pub, | |
const typename SingleSubscriberPublisher< M >::StatusCB & | user_cb | |||
) | [inline] |
Definition at line 79 of file publisher_impl.h.
std::string message_transport::PublisherImplGen::base_topic_ [protected] |
Definition at line 98 of file publisher_impl.h.
bool message_transport::PublisherImplGen::unadvertised_ [protected] |
Definition at line 99 of file publisher_impl.h.