From 6652eb4a033b38bd952563f3544eb11e98f27327 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Wed, 31 Jan 2018 20:20:14 +0100 Subject: uhd: Move internal headers to uhdlib/ To avoid the proliferation of additional include directories and multiple ways of including project-local headers, we now default to moving all headers that are used across UHD into the uhdlib/ subdirectory. Some #include statements were also reordered as they were modified for closer compliance with the coding guidelines. Internal cpp source files should now include files like this: #include Reviewed-by: Ashish Chaudhari --- host/lib/rfnoc/wb_iface_adapter.hpp | 60 ------------------------------------- 1 file changed, 60 deletions(-) delete mode 100644 host/lib/rfnoc/wb_iface_adapter.hpp (limited to 'host/lib/rfnoc/wb_iface_adapter.hpp') diff --git a/host/lib/rfnoc/wb_iface_adapter.hpp b/host/lib/rfnoc/wb_iface_adapter.hpp deleted file mode 100644 index 753fa13af..000000000 --- a/host/lib/rfnoc/wb_iface_adapter.hpp +++ /dev/null @@ -1,60 +0,0 @@ -// -// Copyright 2016 Ettus Research LLC -// Copyright 2018 Ettus Research, a National Instruments Company -// -// SPDX-License-Identifier: GPL-3.0-or-later -// - -#ifndef INCLUDED_RFNOC_WB_IFACE_ADAPTER_HPP -#define INCLUDED_RFNOC_WB_IFACE_ADAPTER_HPP - -#include -#include -#include - -namespace uhd { - namespace rfnoc { - -class UHD_API wb_iface_adapter : public uhd::timed_wb_iface -{ -public: - typedef boost::shared_ptr sptr; - typedef boost::function poke32_type; - typedef boost::function peek32_type; - typedef boost::function peek64_type; - typedef boost::function gettime_type; - typedef boost::function settime_type; - - wb_iface_adapter( - const poke32_type &, - const peek32_type &, - const peek64_type &, - const gettime_type &, - const settime_type & - ); - - wb_iface_adapter( - const poke32_type &, - const peek32_type &, - const peek64_type & - ); - - virtual ~wb_iface_adapter(void) {}; - - virtual void poke32(const wb_addr_type addr, const uint32_t data); - virtual uint32_t peek32(const wb_addr_type addr); - virtual uint64_t peek64(const wb_addr_type addr); - virtual time_spec_t get_time(void); - virtual void set_time(const time_spec_t& t); - -private: - const poke32_type poke32_functor; - const peek32_type peek32_functor; - const peek64_type peek64_functor; - const gettime_type gettime_functor; - const settime_type settime_functor; -}; - -}} // namespace uhd::rfnoc - -#endif /* INCLUDED_RFNOC_WB_IFACE_ADAPTER_HPP */ -- cgit v1.2.3