aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2/usrp2_impl.hpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-06-02 17:44:20 -0700
committerJosh Blum <josh@joshknows.com>2010-06-02 17:44:20 -0700
commitb2054a45d45ba85e30ff601159b18f5ebd15dd76 (patch)
treeab0d9919385190f26fee05ebb48656755d0b92cb /host/lib/usrp/usrp2/usrp2_impl.hpp
parent33193a06c1bc197a603f831109533230dc14b4c9 (diff)
downloaduhd-b2054a45d45ba85e30ff601159b18f5ebd15dd76.tar.gz
uhd-b2054a45d45ba85e30ff601159b18f5ebd15dd76.tar.bz2
uhd-b2054a45d45ba85e30ff601159b18f5ebd15dd76.zip
Created macros for dealing with pimpls and implemented in code.
Diffstat (limited to 'host/lib/usrp/usrp2/usrp2_impl.hpp')
-rw-r--r--host/lib/usrp/usrp2/usrp2_impl.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/host/lib/usrp/usrp2/usrp2_impl.hpp b/host/lib/usrp/usrp2/usrp2_impl.hpp
index bb4554e8d..40c193866 100644
--- a/host/lib/usrp/usrp2/usrp2_impl.hpp
+++ b/host/lib/usrp/usrp2/usrp2_impl.hpp
@@ -23,6 +23,7 @@
#include "codec_ctrl.hpp"
#include "serdes_ctrl.hpp"
#include <uhd/usrp/usrp2.hpp>
+#include <uhd/utils/pimpl.hpp>
#include <uhd/types/dict.hpp>
#include <uhd/types/otw_type.hpp>
#include <uhd/types/stream_cmd.hpp>
@@ -153,7 +154,7 @@ private:
;
uhd::otw_type_t _rx_otw_type, _tx_otw_type;
- struct io_impl; boost::shared_ptr<io_impl> _io_impl;
+ UHD_PIMPL_DECL(io_impl) _io_impl;
void io_init(void);
//udp transports for control and data