diff options
author | Steven Koo <steven.koo@ni.com> | 2020-07-07 15:24:42 -0500 |
---|---|---|
committer | michael-west <michael.west@ettus.com> | 2020-07-08 12:46:20 -0700 |
commit | feb05cba75177cbaf7979a34fb172cc317e85454 (patch) | |
tree | 5c32ce27e7050dcea9c6622805e8aa1f7030eacc /host | |
parent | 8d57586d61356c42a80408b6bd71e8f74a8d40e2 (diff) | |
download | uhd-feb05cba75177cbaf7979a34fb172cc317e85454.tar.gz uhd-feb05cba75177cbaf7979a34fb172cc317e85454.tar.bz2 uhd-feb05cba75177cbaf7979a34fb172cc317e85454.zip |
meta-ettus: remove io_type.hpp
io_type's implementation was removed when host/lib/depricated.cpp was
removed. This commit also removes the hpp and installation.
Signed-off-by: Steven Koo <steven.koo@ni.com>
Diffstat (limited to 'host')
-rw-r--r-- | host/include/uhd/types/CMakeLists.txt | 1 | ||||
-rw-r--r-- | host/include/uhd/types/io_type.hpp | 65 |
2 files changed, 0 insertions, 66 deletions
diff --git a/host/include/uhd/types/CMakeLists.txt b/host/include/uhd/types/CMakeLists.txt index 47f68315d..108a37da4 100644 --- a/host/include/uhd/types/CMakeLists.txt +++ b/host/include/uhd/types/CMakeLists.txt @@ -14,7 +14,6 @@ UHD_INSTALL(FILES direction.hpp eeprom.hpp endianness.hpp - io_type.hpp mac_addr.hpp metadata.hpp ranges.hpp diff --git a/host/include/uhd/types/io_type.hpp b/host/include/uhd/types/io_type.hpp deleted file mode 100644 index 884598c25..000000000 --- a/host/include/uhd/types/io_type.hpp +++ /dev/null @@ -1,65 +0,0 @@ -// -// Copyright 2010-2011 Ettus Research LLC -// Copyright 2018 Ettus Research, a National Instruments Company -// -// SPDX-License-Identifier: GPL-3.0-or-later -// - -#pragma once - -#include <uhd/config.hpp> - -namespace uhd { - -/*! - * The DEPRECATED Input/Output configuration struct: - * Used to specify the IO type with device send/recv. - * - * Deprecated in favor of streamer interface. - * Its still in this file for the sake of gr-uhd swig. - */ -class UHD_API io_type_t -{ -public: - /*! - * Built in IO types known to the system. - */ - enum tid_t { - //! Custom type (technically unsupported by implementation) - CUSTOM_TYPE = int('?'), - //! Complex floating point (64-bit floats) range [-1.0, +1.0] - COMPLEX_FLOAT64 = int('d'), - //! Complex floating point (32-bit floats) range [-1.0, +1.0] - COMPLEX_FLOAT32 = int('f'), - //! Complex signed integer (16-bit integers) range [-32768, +32767] - COMPLEX_INT16 = int('s'), - //! Complex signed integer (8-bit integers) range [-128, 127] - COMPLEX_INT8 = int('b') - }; - - /*! - * The size of this io type in bytes. - */ - const size_t size; - - /*! - * The type id of this io type. - * Good for using with switch statements. - */ - const tid_t tid; - - /*! - * Create an io type from a built-in type id. - * \param tid a type id known to the system - */ - io_type_t(tid_t tid); - - /*! - * Create an io type from attributes. - * The tid will be set to custom. - * \param size the size in bytes - */ - io_type_t(size_t size); -}; - -} // namespace uhd |