Types and Enums#

enum vxsdr::transport_type#

The transport_type describes the transports used to send and receive data and commands. (UDP is the default, and UDP and PCIE are currently the only transports supported.)

Values:

enumerator TRANSPORT_TYPE_UDP#
enumerator TRANSPORT_TYPE_PCIE#
enum vxsdr::stream_state#

The stream_state type reports the status of TX or RX data streaming.

Values:

enumerator STREAM_STOPPED#
enumerator STREAM_RUNNING#
enumerator STREAM_WAITING_FOR_START#
enumerator STREAM_ERROR#
using vxsdr::wire_sample = std::complex<int16_t>#

The wire_sample type is used for data transfer between the host and device; wire samples may be translated to and from other types by the host library.

using vxsdr::filter_coefficient = std::complex<int16_t>#

The filter_coefficient type is used for representing filter coefficients.

using vxsdr::time_point = std::chrono::time_point<std::chrono::system_clock, duration>#

The time_point type is used for start times.

using vxsdr::duration = std::chrono::duration<int64_t, std::ratio<1, 1000000000>>#

The duration type is used for acquisition and wait durations; it has a 1 nanosecond resolution, although the granularity of the device clock may be larger.

enum vxsdr::async_message_handler#

The async_message_handler type controls how asynchronous messages (including overflow, underflow, and sequence errors) are reported.

Values:

enumerator ASYNC_NULL#
enumerator ASYNC_BRIEF_STDERR#
enumerator ASYNC_FULL_STDERR#
enumerator ASYNC_FULL_LOG#
enumerator ASYNC_THROW#
struct async_message_exception : public std::runtime_error#

The vxsdr::async_message_exception type is used to report asynchronous messages when the message handler is asked to throw exceptions by specifying ASYNC_THROW as the reporting method. The user must define a handler for this type; otherwise, receipt of any async message will result in an unhandled exception, which terminates the program.