[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r9280 - gnuradio/branches/developers/trondeau/dbs/gr-u
From: |
trondeau |
Subject: |
[Commit-gnuradio] r9280 - gnuradio/branches/developers/trondeau/dbs/gr-usrp/src |
Date: |
Wed, 13 Aug 2008 23:05:53 -0600 (MDT) |
Author: trondeau
Date: 2008-08-13 23:05:52 -0600 (Wed, 13 Aug 2008)
New Revision: 9280
Modified:
gnuradio/branches/developers/trondeau/dbs/gr-usrp/src/usrp1_source.i
gnuradio/branches/developers/trondeau/dbs/gr-usrp/src/usrp1_source_base.h
Log:
function call to export daughterboard pointers
Modified: gnuradio/branches/developers/trondeau/dbs/gr-usrp/src/usrp1_source.i
===================================================================
--- gnuradio/branches/developers/trondeau/dbs/gr-usrp/src/usrp1_source.i
2008-08-14 05:05:16 UTC (rev 9279)
+++ gnuradio/branches/developers/trondeau/dbs/gr-usrp/src/usrp1_source.i
2008-08-14 05:05:52 UTC (rev 9280)
@@ -188,5 +188,13 @@
public:
~usrp1_source_s ();
+
+ std::vector<db_base_sptr> db(int which);
};
+
+%pythoncode %{
+ usrp1_source_c_sptr.__init__(self, which_board, decim_rate, nchan, mux,
mode) =
+ usrp1_source_c_sptr(which_board, decim_rate, nchan, mux, mode)
+%}
#endif
+
Modified:
gnuradio/branches/developers/trondeau/dbs/gr-usrp/src/usrp1_source_base.h
===================================================================
--- gnuradio/branches/developers/trondeau/dbs/gr-usrp/src/usrp1_source_base.h
2008-08-14 05:05:16 UTC (rev 9279)
+++ gnuradio/branches/developers/trondeau/dbs/gr-usrp/src/usrp1_source_base.h
2008-08-14 05:05:52 UTC (rev 9280)
@@ -90,6 +90,8 @@
~usrp1_source_base ();
+ std::vector<db_base_sptr> db(int which) { return d_usrp->db(which); }
+
//std::vector<db_base_sptr> db(int which);
int determine_rx_mux_value(const std::vector<int> &subdev_spec);
db_base_sptr selected_subdev(const std::vector<int> &subdev_spec);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r9280 - gnuradio/branches/developers/trondeau/dbs/gr-usrp/src,
trondeau <=