#include <udpmulti_publisher.h>
Public Member Functions | |
const std::string & | getMulticastAddress () const |
uint32_t | getPort () const |
UDPMultHeader | getUDPHeader () const |
void | initialise (const std::string &topicname) |
template<class M > | |
void | multicast (const M &message, uint32_t datasize=0) |
void | setNodeHandle (ros::NodeHandle &nh) |
UDPMultiPublisherImpl () | |
virtual | ~UDPMultiPublisherImpl () |
Protected Attributes | |
boost::asio::ip::udp::endpoint * | endpoint_ |
boost::asio::io_service | io_service_ |
std::string | multicast_address_ |
ros::NodeHandle | nh_ |
uint32_t | port_ |
boost::asio::ip::udp::socket * | socket_ |
Definition at line 14 of file udpmulti_publisher.h.
Definition at line 16 of file udpmulti_publisher.cpp.
Definition at line 23 of file udpmulti_publisher.cpp.
const std::string & udpmulti_transport::UDPMultiPublisherImpl::getMulticastAddress | ( | ) | const |
Definition at line 54 of file udpmulti_publisher.cpp.
uint32_t udpmulti_transport::UDPMultiPublisherImpl::getPort | ( | ) | const |
Definition at line 58 of file udpmulti_publisher.cpp.
Definition at line 62 of file udpmulti_publisher.cpp.
void udpmulti_transport::UDPMultiPublisherImpl::initialise | ( | const std::string & | topicname | ) |
Definition at line 31 of file udpmulti_publisher.cpp.
void udpmulti_transport::UDPMultiPublisherImpl::multicast | ( | const M & | message, |
uint32_t | datasize = 0 |
||
) | [inline] |
Definition at line 31 of file udpmulti_publisher.h.
void udpmulti_transport::UDPMultiPublisherImpl::setNodeHandle | ( | ros::NodeHandle & | nh | ) | [inline] |
Definition at line 20 of file udpmulti_publisher.h.
boost::asio::ip::udp::endpoint* udpmulti_transport::UDPMultiPublisherImpl::endpoint_ [protected] |
Definition at line 52 of file udpmulti_publisher.h.
boost::asio::io_service udpmulti_transport::UDPMultiPublisherImpl::io_service_ [protected] |
Definition at line 51 of file udpmulti_publisher.h.
std::string udpmulti_transport::UDPMultiPublisherImpl::multicast_address_ [protected] |
Definition at line 50 of file udpmulti_publisher.h.
Definition at line 54 of file udpmulti_publisher.h.
uint32_t udpmulti_transport::UDPMultiPublisherImpl::port_ [protected] |
Definition at line 49 of file udpmulti_publisher.h.
boost::asio::ip::udp::socket* udpmulti_transport::UDPMultiPublisherImpl::socket_ [protected] |
Definition at line 53 of file udpmulti_publisher.h.