Public Member Functions | Protected Member Functions | Protected Attributes
udpmulti_transport::UDPMultiSubscriber< Base > Class Template Reference

#include <udpmulti_subscriber.h>

Inheritance diagram for udpmulti_transport::UDPMultiSubscriber< Base >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual std::string getTransportName () const
 UDPMultiSubscriber ()
virtual ~UDPMultiSubscriber ()

Protected Member Functions

virtual void internalCallback (const udpmulti_transport::UDPMultHeaderConstPtr &message, const typename message_transport::SimpleSubscriberPlugin< Base, udpmulti_transport::UDPMultHeader >::Callback &user_cb)
void receiveThread ()

Protected Attributes

uint8_t data_ [MAX_UDP_PACKET_SIZE]
boost::asio::ip::udp::endpoint endpoint_
boost::asio::io_service io_service_
std::string listening_interface_
std::string multicast_address_
uint32_t port_
boost::thread * rec_thread_
boost::asio::ip::udp::socket socket_
const
message_transport::SimpleSubscriberPlugin
< Base,
udpmulti_transport::UDPMultHeader >
::Callback
user_cb_

Detailed Description

template<class Base>
class udpmulti_transport::UDPMultiSubscriber< Base >

Definition at line 17 of file udpmulti_subscriber.h.


Constructor & Destructor Documentation

template<class Base>
udpmulti_transport::UDPMultiSubscriber< Base >::UDPMultiSubscriber ( ) [inline]

Definition at line 20 of file udpmulti_subscriber.h.

template<class Base>
virtual udpmulti_transport::UDPMultiSubscriber< Base >::~UDPMultiSubscriber ( ) [inline, virtual]

Definition at line 23 of file udpmulti_subscriber.h.


Member Function Documentation

template<class Base>
virtual std::string udpmulti_transport::UDPMultiSubscriber< Base >::getTransportName ( ) const [inline, virtual]

Implements message_transport::SubscriberPluginGen.

Definition at line 40 of file udpmulti_subscriber.h.

template<class Base>
virtual void udpmulti_transport::UDPMultiSubscriber< Base >::internalCallback ( const udpmulti_transport::UDPMultHeaderConstPtr message,
const typename message_transport::SimpleSubscriberPlugin< Base, udpmulti_transport::UDPMultHeader >::Callback user_cb 
) [inline, protected, virtual]

Definition at line 64 of file udpmulti_subscriber.h.

template<class Base>
void udpmulti_transport::UDPMultiSubscriber< Base >::receiveThread ( ) [inline, protected]

Definition at line 46 of file udpmulti_subscriber.h.


Member Data Documentation

template<class Base>
uint8_t udpmulti_transport::UDPMultiSubscriber< Base >::data_[MAX_UDP_PACKET_SIZE] [protected]

Definition at line 133 of file udpmulti_subscriber.h.

template<class Base>
boost::asio::ip::udp::endpoint udpmulti_transport::UDPMultiSubscriber< Base >::endpoint_ [protected]

Definition at line 128 of file udpmulti_subscriber.h.

template<class Base>
boost::asio::io_service udpmulti_transport::UDPMultiSubscriber< Base >::io_service_ [protected]

Definition at line 127 of file udpmulti_subscriber.h.

template<class Base>
std::string udpmulti_transport::UDPMultiSubscriber< Base >::listening_interface_ [protected]

Definition at line 126 of file udpmulti_subscriber.h.

template<class Base>
std::string udpmulti_transport::UDPMultiSubscriber< Base >::multicast_address_ [protected]

Definition at line 132 of file udpmulti_subscriber.h.

template<class Base>
uint32_t udpmulti_transport::UDPMultiSubscriber< Base >::port_ [protected]

Definition at line 125 of file udpmulti_subscriber.h.

template<class Base>
boost::thread* udpmulti_transport::UDPMultiSubscriber< Base >::rec_thread_ [protected]

Definition at line 131 of file udpmulti_subscriber.h.

template<class Base>
boost::asio::ip::udp::socket udpmulti_transport::UDPMultiSubscriber< Base >::socket_ [protected]

Definition at line 129 of file udpmulti_subscriber.h.

Definition at line 130 of file udpmulti_subscriber.h.


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


udpmulti_transport
Author(s): Cedric Pradalier
autogenerated on Sun Oct 5 2014 23:49:15