USRP Hardware Driver and USRP Manual
Version: 3.15.0.0
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
36
struct
UHD_API
stream_cmd_t
37
{
38
enum
stream_mode_t
{
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
;
47
time_spec_t
time_spec
;
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 */
time_spec.hpp
config.hpp
uhd::stream_cmd_t::time_spec
time_spec_t time_spec
Definition:
stream_cmd.hpp:47
UHD_API
#define UHD_API
Definition:
config.h:68
uhd
Definition:
build_info.hpp:13
uhd::time_spec_t
Definition:
time_spec.hpp:32
uhd::stream_cmd_t
Definition:
stream_cmd.hpp:37
uhd::stream_cmd_t::stream_now
bool stream_now
Definition:
stream_cmd.hpp:46
uhd::stream_cmd_t::stream_mode_t
stream_mode_t
Definition:
stream_cmd.hpp:38
uhd::stream_cmd_t::stream_cmd_t
stream_cmd_t(const stream_mode_t &stream_mode)
uhd::stream_cmd_t::num_samps
size_t num_samps
Definition:
stream_cmd.hpp:44
include
uhd
types
stream_cmd.hpp
Generated by
1.8.18