Types and Enums#
-
enum vxsdr::transport_type#
The
transport_typedescribes 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#
-
enumerator TRANSPORT_TYPE_UDP#
-
enum vxsdr::stream_state#
The
stream_statetype reports the status of TX or RX data streaming.Values:
-
enumerator STREAM_STOPPED#
-
enumerator STREAM_RUNNING#
-
enumerator STREAM_WAITING_FOR_START#
-
enumerator STREAM_ERROR#
-
enumerator STREAM_STOPPED#
-
using vxsdr::wire_sample = std::complex<int16_t>#
The
wire_sampletype 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_coefficienttype is used for representing filter coefficients.
-
using vxsdr::time_point = std::chrono::time_point<std::chrono::system_clock, duration>#
The
time_pointtype is used for start times.
-
using vxsdr::duration = std::chrono::duration<int64_t, std::ratio<1, 1000000000>>#
The
durationtype 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_handlertype 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#
-
enumerator ASYNC_NULL#
-
struct async_message_exception : public std::runtime_error#
The
vxsdr::async_message_exceptiontype is used to report asynchronous messages when the message handler is asked to throw exceptions by specifyingASYNC_THROWas 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.