imenco_pt
0.1.1
A ROS2 Driver for the Imenco Pan/Tilt acutator
|
#include <udp_socket.hpp>
Public Member Functions | |
UdpSocket (int port, size_t buffer_size=1024) | |
~UdpSocket () | |
void | SendTo (const std::string &ip, int port, const std::vector< byte > &message) |
void | Receive () |
void | AddCallback (const MessageCallback &callback) |
NS_HEAD UdpSocket::UdpSocket | ( | int | port, |
size_t | buffer_size = 1024 ) |
UdpSocket::~UdpSocket | ( | ) |
void UdpSocket::AddCallback | ( | const MessageCallback & | callback | ) |
void UdpSocket::Receive | ( | ) |
void UdpSocket::SendTo | ( | const std::string & | ip, |
int | port, | ||
const std::vector< byte > & | message ) |