imenco_pt  0.1.1
A ROS2 Driver for the Imenco Pan/Tilt acutator
Loading...
Searching...
No Matches
imenco_pt::UdpSocket Class Reference

#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)
 

Constructor & Destructor Documentation

◆ UdpSocket()

NS_HEAD UdpSocket::UdpSocket ( int port,
size_t buffer_size = 1024 )

◆ ~UdpSocket()

UdpSocket::~UdpSocket ( )

Member Function Documentation

◆ AddCallback()

void UdpSocket::AddCallback ( const MessageCallback & callback)

◆ Receive()

void UdpSocket::Receive ( )

◆ SendTo()

void UdpSocket::SendTo ( const std::string & ip,
int port,
const std::vector< byte > & message )

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