USRP Hardware Driver and USRP Manual  Version: 3.13.0.HEAD-0-gf114cfa0
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>
12 #include <uhd/types/time_spec.hpp>
13 
14 namespace 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 
46  bool stream_now;
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: stream_cmd.hpp:36
Definition: time_spec.hpp:29
time_spec_t time_spec
Definition: stream_cmd.hpp:47
Definition: build_info.hpp:14
stream_mode_t
Definition: stream_cmd.hpp:38
#define UHD_API
Definition: config.h:63
bool stream_now
Definition: stream_cmd.hpp:46
size_t num_samps
Definition: stream_cmd.hpp:44