USRP Hardware Driver and USRP Manual Version: 3.15.0.0-MacPorts-Release
UHD and USRP Manual
stream_cmd.hpp
Go to the documentation of this file.
1/*
2 * Copyright 2010-2012,2015 Ettus Research LLC
3 * Copyright 2018 Ettus Research, a National Instruments Company
4 *
5 * SPDX-License-Identifier: GPL-3.0-or-later
6 */
7
8#ifndef INCLUDED_UHD_TYPES_STREAM_CMD_HPP
9#define INCLUDED_UHD_TYPES_STREAM_CMD_HPP
10
11#include <uhd/config.hpp>
13
14namespace uhd {
15
37{
39 STREAM_MODE_START_CONTINUOUS = int('a'),
40 STREAM_MODE_STOP_CONTINUOUS = int('o'),
41 STREAM_MODE_NUM_SAMPS_AND_DONE = int('d'),
42 STREAM_MODE_NUM_SAMPS_AND_MORE = int('m')
43 } stream_mode;
44 size_t num_samps;
45
48
49 stream_cmd_t(const stream_mode_t& stream_mode);
50};
51
52} /* namespace uhd */
53
54#endif /* INCLUDED_UHD_TYPES_STREAM_CMD_HPP */
Definition: time_spec.hpp:32
#define UHD_API
Definition: config.h:68
Definition: build_info.hpp:13
Definition: stream_cmd.hpp:37
bool stream_now
Definition: stream_cmd.hpp:46
stream_mode_t
Definition: stream_cmd.hpp:38
size_t num_samps
Definition: stream_cmd.hpp:44
time_spec_t time_spec
Definition: stream_cmd.hpp:47
stream_cmd_t(const stream_mode_t &stream_mode)