USRP Hardware Driver and USRP Manual
Version: 4.4.0.HEAD-0-g5fac246b
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
#pragma once
9
10
#include <
uhd/config.hpp
>
11
#include <
uhd/types/time_spec.hpp
>
12
13
namespace
uhd
{
14
39
struct
UHD_API
stream_cmd_t
40
{
41
enum
stream_mode_t
{
42
STREAM_MODE_START_CONTINUOUS = int(
'a'
),
43
STREAM_MODE_STOP_CONTINUOUS = int(
'o'
),
44
STREAM_MODE_NUM_SAMPS_AND_DONE = int(
'd'
),
45
STREAM_MODE_NUM_SAMPS_AND_MORE = int(
'm'
)
46
} stream_mode;
47
uint64_t
num_samps
;
48
49
bool
stream_now
;
50
time_spec_t
time_spec
;
51
52
stream_cmd_t
(
const
stream_mode_t
& stream_mode);
53
};
54
55
}
/* namespace uhd */
time_spec.hpp
config.hpp
uhd::stream_cmd_t::num_samps
uint64_t num_samps
Definition:
stream_cmd.hpp:47
uhd::stream_cmd_t::time_spec
time_spec_t time_spec
Definition:
stream_cmd.hpp:50
UHD_API
#define UHD_API
Definition:
config.h:87
uhd
Definition:
build_info.hpp:12
uhd::time_spec_t
Definition:
time_spec.hpp:28
uhd::stream_cmd_t
Definition:
stream_cmd.hpp:39
uhd::stream_cmd_t::stream_now
bool stream_now
Definition:
stream_cmd.hpp:49
uhd::stream_cmd_t::stream_mode_t
stream_mode_t
Definition:
stream_cmd.hpp:41
include
uhd
types
stream_cmd.hpp
Generated by
1.8.17