![]() |
template_pkg
1.0.0
A template ROS2 Package
|
#include <udp_socket.hpp>


Classes | |
| struct | Params |
Public Member Functions | |
| UdpSocket (Params params) | |
| ~UdpSocket () | |
| void | send (const std::vector< byte > &message) |
| void | sendTo (const std::string &ip, int port, const std::vector< byte > &message) |
| void | spinOnce () |
| void | addCallback (const MessageCallback &callback) |
| TRANSPORT_NS_HEAD UdpSocket::UdpSocket | ( | Params | params | ) |
| UdpSocket::~UdpSocket | ( | ) |
|
virtual |
Implements roship_io::transport::TransportInterface.
|
virtual |
Implements roship_io::transport::TransportInterface.
| void UdpSocket::sendTo | ( | const std::string & | ip, |
| int | port, | ||
| const std::vector< byte > & | message ) |
|
virtual |
Implements roship_io::transport::TransportInterface.