class UdpSenderSocketImpl implements the udp socket for sending udp packages
More...
#include <udp_sockets.h>
class UdpSenderSocketImpl implements the udp socket for sending udp packages
Definition at line 272 of file udp_sockets.h.
◆ UdpSenderSocketImpl()
sick_scansegment_xd::UdpSenderSocketImpl::UdpSenderSocketImpl |
( |
const std::string & |
server_address = "192.168.0.1" , |
|
|
int |
udp_port = 2115 |
|
) |
| |
|
inline |
Constructor, opens an udp socket.
- Parameters
-
[in] | server_address | ip address |
[in] | udp_port | udp port |
Definition at line 281 of file udp_sockets.h.
◆ ~UdpSenderSocketImpl()
sick_scansegment_xd::UdpSenderSocketImpl::~UdpSenderSocketImpl |
( |
| ) |
|
|
inline |
◆ IsOpen()
bool sick_scansegment_xd::UdpSenderSocketImpl::IsOpen |
( |
void |
| ) |
const |
|
inline |
Returns true if the udp socket is opened and ready to send, or false otherwise.
Definition at line 336 of file udp_sockets.h.
◆ Send()
bool sick_scansegment_xd::UdpSenderSocketImpl::Send |
( |
std::vector< uint8_t > & |
message | ) |
|
|
inline |
◆ m_server_address
std::string sick_scansegment_xd::UdpSenderSocketImpl::m_server_address |
|
protected |
◆ m_socket_opened
bool sick_scansegment_xd::UdpSenderSocketImpl::m_socket_opened |
|
protected |
◆ m_udp_port
int sick_scansegment_xd::UdpSenderSocketImpl::m_udp_port |
|
protected |
◆ m_udp_socket
SOCKET sick_scansegment_xd::UdpSenderSocketImpl::m_udp_socket |
|
protected |
The documentation for this class was generated from the following file: