USRP Hardware Driver and USRP Manual  Version: 3.15.0.HEAD-0-gaea0e2de
UHD and USRP Manual
io_type.hpp
Go to the documentation of this file.
1 //
2 // Copyright 2010-2011 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_IO_TYPE_HPP
9 #define INCLUDED_UHD_TYPES_IO_TYPE_HPP
10 
11 #include <uhd/config.hpp>
12 
13 namespace uhd {
14 
23 {
24 public:
28  enum tid_t {
30  CUSTOM_TYPE = int('?'),
32  COMPLEX_FLOAT64 = int('d'),
34  COMPLEX_FLOAT32 = int('f'),
36  COMPLEX_INT16 = int('s'),
38  COMPLEX_INT8 = int('b')
39  };
40 
44  const size_t size;
45 
50  const tid_t tid;
51 
56  io_type_t(tid_t tid);
57 
63  io_type_t(size_t size);
64 };
65 
66 } // namespace uhd
67 
68 #endif /* INCLUDED_UHD_TYPES_IO_TYPE_HPP */
const tid_t tid
Definition: io_type.hpp:50
Definition: build_info.hpp:13
tid_t
Definition: io_type.hpp:28
#define UHD_API
Definition: config.h:68
const size_t size
Definition: io_type.hpp:44
Definition: io_type.hpp:22