Simple publisher class that calls the serialization on a message and uses OpenMPI's send. More...
#include <publisher.h>
Public Member Functions | |
| template<typename M > | |
| void | publish (const boost::shared_ptr< M > &message) const | 
| template<typename M > | |
| void | publish (const M &message) const | 
| void | publish (const boost::function< ros::SerializedMessage(void)> &serfunc, ros::SerializedMessage &m) const | 
| Publisher () | |
| ~Publisher () | |
Simple publisher class that calls the serialization on a message and uses OpenMPI's send.
Definition at line 51 of file publisher.h.
| rosmpi::Publisher::Publisher | ( | ) |  [inline] | 
        
Definition at line 54 of file publisher.h.
| rosmpi::Publisher::~Publisher | ( | ) |  [inline] | 
        
Definition at line 55 of file publisher.h.
| void rosmpi::Publisher::publish | ( | const boost::shared_ptr< M > & | message | ) |  const [inline] | 
        
Definition at line 60 of file publisher.h.
| void rosmpi::Publisher::publish | ( | const M & | message | ) |  const [inline] | 
        
Definition at line 69 of file publisher.h.
| void rosmpi::Publisher::publish | ( | const boost::function< ros::SerializedMessage(void)> & | serfunc, | 
| ros::SerializedMessage & | m | ||
| ) | const | 
Definition at line 41 of file publisher.cpp.