Changeset 9719
- Timestamp:
- 10/04/08 16:15:10
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
gnuradio/branches/features/cppdb/usrp/host/lib/legacy/db_base.cc
r9673 r9719 43 43 d_usrp = usrp; 44 44 45 // FIXME: this is a stupid response some the Python examples requiring _which 46 _which = which; 47 45 48 if(d_tx) { 46 49 d_slot = d_which * 2; gnuradio/branches/features/cppdb/usrp/host/lib/legacy/db_base.h
r9670 r9719 93 93 tune_result tune(int chan, double target_freq); 94 94 95 int which() { return d_which; } 96 97 int _which; 98 95 99 protected: 96 100 void _enable_refclk(bool enable); gnuradio/branches/features/cppdb/usrp/host/lib/legacy/db_base.i
r9670 r9719 75 75 76 76 tune_result tune(int chan, double target_freq); 77 78 int _which; 77 79 }; 78 80 79 81 typedef boost::shared_ptr<db_base> db_base_sptr; 80 82 %template(db_base_sptr) boost::shared_ptr<db_base>; 81 82 83 83 84 // Set better class name in Python
