diff options
author | Josh Blum <josh@joshknows.com> | 2010-02-23 16:27:49 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-02-23 16:27:49 -0800 |
commit | 8050fda48d69f46788672a9ceaccd8d82500ac05 (patch) | |
tree | 98ba17ea9bd041040da1ec9f0cf85dae014cb1c0 /host/lib/shared_iovec.cpp | |
parent | 6b7c53985c09a8d74e9bfd9c6b37948d458b2c44 (diff) | |
download | uhd-8050fda48d69f46788672a9ceaccd8d82500ac05.tar.gz uhd-8050fda48d69f46788672a9ceaccd8d82500ac05.tar.bz2 uhd-8050fda48d69f46788672a9ceaccd8d82500ac05.zip |
Added IF data io handing within the usrp2 impl.
It packs and unpacks vrt headers/metadata.
NOT YET TESTED IN ANY WAY...
Diffstat (limited to 'host/lib/shared_iovec.cpp')
-rw-r--r-- | host/lib/shared_iovec.cpp | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/host/lib/shared_iovec.cpp b/host/lib/shared_iovec.cpp deleted file mode 100644 index 60062fbf0..000000000 --- a/host/lib/shared_iovec.cpp +++ /dev/null @@ -1,28 +0,0 @@ -// -// Copyright 2010 Ettus Research LLC -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with this program. If not, see <http://www.gnu.org/licenses/>. -// - -#include <uhd/shared_iovec.hpp> - -uhd::shared_iovec::shared_iovec(size_t len_){ - _shared_array = boost::shared_array<uint8_t>(new uint8_t[len_]); - base = _shared_array.get(); - len = len_; -} - -uhd::shared_iovec::~shared_iovec(void){ - /* NOP */ -} |