Public Member Functions | Protected Attributes
message_transport::PublisherImpl< M > Class Template Reference

#include <publisher_impl.h>

Inheritance diagram for message_transport::PublisherImpl< M >:
Inheritance graph
[legend]

List of all members.

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_

Detailed Description

template<class M>
class message_transport::PublisherImpl< M >

Definition at line 104 of file publisher_impl.h.


Constructor & Destructor Documentation

template<class M>
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.

template<class M>
virtual message_transport::PublisherImpl< M >::~PublisherImpl ( ) [inline, virtual]

Definition at line 115 of file publisher_impl.h.


Member Function Documentation

template<class M>
boost::shared_ptr< PublisherPlugin<M> > message_transport::PublisherImpl< M >::addInstance ( const std::string &  name) [inline]

Definition at line 143 of file publisher_impl.h.

template<class M>
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.

template<class M>
uint32_t message_transport::PublisherImpl< M >::getNumPublishers ( ) const [inline]

Definition at line 153 of file publisher_impl.h.

template<class M>
virtual uint32_t message_transport::PublisherImpl< M >::getNumSubscribers ( ) const [inline, virtual]

Implements message_transport::PublisherImplGen.

Definition at line 119 of file publisher_impl.h.

template<class M>
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.

template<class M>
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.

template<class M>
virtual void message_transport::PublisherImpl< M >::shutdownImpl ( ) [inline, virtual]

Implements message_transport::PublisherImplGen.

Definition at line 128 of file publisher_impl.h.


Member Data Documentation

Definition at line 173 of file publisher_impl.h.

template<class M>
std::vector<boost::shared_ptr< PublisherPlugin<M> > > message_transport::PublisherImpl< M >::publishers_ [protected]

Definition at line 174 of file publisher_impl.h.


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


message_transport_common
Author(s): Cedric Pradalier
autogenerated on Sun Oct 5 2014 23:48:49