waterlinkedsonar
C++ client library for the Water Linked Sonar 3D-15
Loading...
Searching...
No Matches
Classes | Enumerations | Functions
types.hpp File Reference

Data types of the Sonar 3D-15 HTTP API. More...

#include <chrono>
#include <cstdint>
#include <optional>
#include <string>

Go to the source code of this file.

Classes

struct  waterlinked::sonar::About
 Device identity. More...
 
struct  waterlinked::sonar::StatusEntry
 Health of one subsystem. More...
 
struct  waterlinked::sonar::Status
 Health of the device subsystems. More...
 
struct  waterlinked::sonar::Range
 Imaging range limits in meters. More...
 
struct  waterlinked::sonar::UdpConfig
 Destination of the sonar's UDP stream. More...
 
struct  waterlinked::sonar::TimeStatus
 State of the device clock. More...
 
struct  waterlinked::sonar::ForceSyncResult
 Outcome of a forced NTP sync. More...
 

Enumerations

enum class  waterlinked::sonar::AcousticsMode : std::uint8_t { LOW_FREQUENCY , HIGH_FREQUENCY }
 Imaging mode, which sets the field of view and the image rate. More...
 
enum class  waterlinked::sonar::Salinity : std::uint8_t { SALT , FRESH }
 Water salinity used by the automatic speed of sound. More...
 

Functions

const char * waterlinked::sonar::to_string (AcousticsMode mode) noexcept
 API name of mode: "low-frequency" or "high-frequency".
 
const char * waterlinked::sonar::to_string (Salinity salinity) noexcept
 API name of salinity: "salt" or "fresh".
 
const char * waterlinked::sonar::to_string (UdpConfig::Mode mode) noexcept
 API name of mode: "multicast", "unicast" or "disabled".
 

Detailed Description

Data types of the Sonar 3D-15 HTTP API.

Enumeration Type Documentation

◆ AcousticsMode

enum class waterlinked::sonar::AcousticsMode : std::uint8_t
strong

Imaging mode, which sets the field of view and the image rate.

Enumerator
LOW_FREQUENCY 

90x40 degrees at 5 Hz.

HIGH_FREQUENCY 

40x40 degrees at 20 Hz.

◆ Salinity

enum class waterlinked::sonar::Salinity : std::uint8_t
strong

Water salinity used by the automatic speed of sound.

Enumerator
SALT 

Seawater.

FRESH 

Fresh water.