waterlinkedsonar
C++ client library for the Water Linked Sonar 3D-15
Loading...
Searching...
No Matches
Public Types | Public Attributes | List of all members
waterlinked::sonar::UdpSocketConfig Struct Reference

Socket setup for the sonar's data stream. More...

#include <waterlinkedsonar/udp_socket.hpp>

Public Types

enum class  Mode : std::uint8_t { MULTICAST , UNICAST }
 

Public Attributes

Mode mode {Mode::MULTICAST}
 
std::string multicast_group {MULTICAST_GROUP}
 Joined in MULTICAST mode.
 
std::uint16_t port {MULTICAST_PORT}
 For unicast this must match the destination port configured on the sonar.
 
std::string interface_ip {"0.0.0.0"}
 Interface for the multicast join, or the bind address for unicast.
 
int receive_buffer_bytes {4 << 20}
 SO_RCVBUF request.
 

Detailed Description

Socket setup for the sonar's data stream.

Member Enumeration Documentation

◆ Mode

enum class waterlinked::sonar::UdpSocketConfig::Mode : std::uint8_t
strong
Enumerator
MULTICAST 
UNICAST 

Member Data Documentation

◆ interface_ip

std::string waterlinked::sonar::UdpSocketConfig::interface_ip {"0.0.0.0"}

Interface for the multicast join, or the bind address for unicast.

◆ mode

Mode waterlinked::sonar::UdpSocketConfig::mode {Mode::MULTICAST}

◆ multicast_group

std::string waterlinked::sonar::UdpSocketConfig::multicast_group {MULTICAST_GROUP}

Joined in MULTICAST mode.

◆ port

std::uint16_t waterlinked::sonar::UdpSocketConfig::port {MULTICAST_PORT}

For unicast this must match the destination port configured on the sonar.

◆ receive_buffer_bytes

int waterlinked::sonar::UdpSocketConfig::receive_buffer_bytes {4 << 20}

SO_RCVBUF request.


The documentation for this struct was generated from the following file: