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

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_

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>
PublisherPlugin<M>* message_transport::PublisherImpl< M >::addInstance ( const std::string &  name  )  [inline]

Definition at line 141 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 137 of file publisher_impl.h.

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

Definition at line 147 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 typename M::ConstPtr &  message  )  const [inline]

Reimplemented from message_transport::PublisherImplGen.

Definition at line 159 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 151 of file publisher_impl.h.

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

Implements message_transport::PublisherImplGen.

Definition at line 127 of file publisher_impl.h.


Member Data Documentation

template<class M>
pluginlib::ClassLoader< PublisherPlugin<M> > message_transport::PublisherImpl< M >::loader_ [protected]

Definition at line 167 of file publisher_impl.h.

template<class M>
boost::ptr_vector< PublisherPlugin<M> > message_transport::PublisherImpl< M >::publishers_ [protected]

Definition at line 168 of file publisher_impl.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


message_transport_common
Author(s): Cedric Pradalier
autogenerated on Fri Jan 11 09:52:58 2013