Classes | Typedefs | Functions
udp_socket.h File Reference
#include <fruit/fruit.h>
#include <ros/ros.h>
#include <boost/asio.hpp>
#include <boost/asio/use_future.hpp>
#include <future>
#include "socket.h"
Include dependency graph for udp_socket.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  UdpSocket
 

Typedefs

using SocketFactory = std::function< std::unique_ptr< Socket >(udp::endpoint, std::shared_ptr< std::function< void(std::vector< uint8_t >)> >)>
 

Functions

udp::endpoint getFreePort ()
 
fruit::Component< SocketFactorygetUdpSocketComponent ()
 

Typedef Documentation

◆ SocketFactory

using SocketFactory = std::function<std::unique_ptr<Socket>( udp::endpoint, std::shared_ptr<std::function<void(std::vector<uint8_t>)> >)>

Definition at line 69 of file udp_socket.h.

Function Documentation

◆ getFreePort()

udp::endpoint getFreePort ( )

Definition at line 79 of file udp_socket.cpp.

◆ getUdpSocketComponent()

fruit::Component<SocketFactory> getUdpSocketComponent ( )

Definition at line 87 of file udp_socket.cpp.



skyway
Author(s): Toshiya Nakakura
autogenerated on Thu Oct 26 2023 02:42:21