commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r9300 - gnuradio/branches/developers/trondeau/dbs/usrp


From: trondeau
Subject: [Commit-gnuradio] r9300 - gnuradio/branches/developers/trondeau/dbs/usrp/host/lib/legacy
Date: Sat, 16 Aug 2008 21:21:42 -0600 (MDT)

Author: trondeau
Date: 2008-08-16 21:21:41 -0600 (Sat, 16 Aug 2008)
New Revision: 9300

Modified:
   gnuradio/branches/developers/trondeau/dbs/usrp/host/lib/legacy/db_base.i
Log:
only need the base class exported.

Modified: 
gnuradio/branches/developers/trondeau/dbs/usrp/host/lib/legacy/db_base.i
===================================================================
--- gnuradio/branches/developers/trondeau/dbs/usrp/host/lib/legacy/db_base.i    
2008-08-15 18:05:15 UTC (rev 9299)
+++ gnuradio/branches/developers/trondeau/dbs/usrp/host/lib/legacy/db_base.i    
2008-08-17 03:21:41 UTC (rev 9300)
@@ -24,6 +24,7 @@
 %{
 #include "db_base.h"
 #include "db_flexrf.h"
+#include "db_tv_rx.h"
 %}
 
 %include <shared_ptr.i>
@@ -80,38 +81,7 @@
 typedef boost::shared_ptr<db_base> db_base_sptr;
 %template(db_base_sptr) boost::shared_ptr<db_base>;
 
-class flexrf_base : public db_base
-{
-public:
-  flexrf_base(usrp_basic *usrp, int which);
-  ~flexrf_base();
 
-  struct freq_result_t set_freq(float freq);
-  float gain_min();
-  float gain_max();
-  float gain_db_per_step();
-  bool  set_gain(float gain);
-  bool  is_quadrature();
-  float lo_offset();
-  void  set_lo_offset(float offset);
-};
-
-
-class db_flexrf_2400_rx : public flexrf_base
-{
-public:
-  db_flexrf_2400_rx(usrp_basic *usrp, int which);
-  ~db_flexrf_2400_rx();
-  
-  float gain_min();
-  float gain_max();
-  float gain_db_per_step();
-  bool i_and_q_swapped();
-
-  float freq_min();
-  float freq_max();
-};
-
 // Set better class name in Python
 // Enable freq_range and gain_range from public methods of class not 
implemented in C++
 // And create a dummy wrapper for backwards compatability with some of the 
example code





reply via email to

[Prev in Thread] Current Thread [Next in Thread]