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