commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] r9945 - gnuradio/branches/developers/eb/cppdb-wip/gr-u


From: eb
Subject: [Commit-gnuradio] r9945 - gnuradio/branches/developers/eb/cppdb-wip/gr-usrp/src
Date: Thu, 6 Nov 2008 13:08:23 -0700 (MST)

Author: eb
Date: 2008-11-06 13:08:22 -0700 (Thu, 06 Nov 2008)
New Revision: 9945

Modified:
   gnuradio/branches/developers/eb/cppdb-wip/gr-usrp/src/usrp_sink_c.h
   gnuradio/branches/developers/eb/cppdb-wip/gr-usrp/src/usrp_sink_s.h
   gnuradio/branches/developers/eb/cppdb-wip/gr-usrp/src/usrp_source_c.h
   gnuradio/branches/developers/eb/cppdb-wip/gr-usrp/src/usrp_source_s.h
Log:
added default values

Modified: gnuradio/branches/developers/eb/cppdb-wip/gr-usrp/src/usrp_sink_c.h
===================================================================
--- gnuradio/branches/developers/eb/cppdb-wip/gr-usrp/src/usrp_sink_c.h 
2008-11-06 19:26:12 UTC (rev 9944)
+++ gnuradio/branches/developers/eb/cppdb-wip/gr-usrp/src/usrp_sink_c.h 
2008-11-06 20:08:22 UTC (rev 9945)
@@ -34,12 +34,12 @@
 usrp_sink_c_sptr
 usrp_make_sink_c (int which_board,
                   unsigned int interp_rate,
-                  int nchan,
-                  int mux,
-                  int fusb_block_size,
-                  int fusb_nblocks,
-                  const std::string fpga_filename,
-                  const std::string firmware_filename
+                  int nchan = 1,
+                  int mux = -1,
+                  int fusb_block_size = 0,
+                  int fusb_nblocks = 0,
+                  const std::string fpga_filename = "",
+                  const std::string firmware_filename = ""
                   ) throw (std::runtime_error);
 
 

Modified: gnuradio/branches/developers/eb/cppdb-wip/gr-usrp/src/usrp_sink_s.h
===================================================================
--- gnuradio/branches/developers/eb/cppdb-wip/gr-usrp/src/usrp_sink_s.h 
2008-11-06 19:26:12 UTC (rev 9944)
+++ gnuradio/branches/developers/eb/cppdb-wip/gr-usrp/src/usrp_sink_s.h 
2008-11-06 20:08:22 UTC (rev 9945)
@@ -34,12 +34,12 @@
 usrp_sink_s_sptr
 usrp_make_sink_s (int which_board,
                   unsigned int interp_rate,
-                  int nchan,
-                  int mux,
-                  int fusb_block_size,
-                  int fusb_nblocks,
-                  const std::string fpga_filename,
-                  const std::string firmware_filename
+                  int nchan = 1,
+                  int mux = -1,
+                  int fusb_block_size = 0,
+                  int fusb_nblocks = 0,
+                  const std::string fpga_filename = "",
+                  const std::string firmware_filename = ""
                   ) throw (std::runtime_error);
 
 /*!

Modified: gnuradio/branches/developers/eb/cppdb-wip/gr-usrp/src/usrp_source_c.h
===================================================================
--- gnuradio/branches/developers/eb/cppdb-wip/gr-usrp/src/usrp_source_c.h       
2008-11-06 19:26:12 UTC (rev 9944)
+++ gnuradio/branches/developers/eb/cppdb-wip/gr-usrp/src/usrp_source_c.h       
2008-11-06 20:08:22 UTC (rev 9945)
@@ -38,13 +38,13 @@
 usrp_source_c_sptr
 usrp_make_source_c (int which_board,
                     unsigned int decim_rate,
-                    int nchan,
-                    int mux,
-                    int mode,
-                    int fusb_block_size,
-                    int fusb_nblocks,
-                    const std::string fpga_filename,
-                    const std::string firmware_filename
+                    int nchan = 1,
+                    int mux = -1,
+                    int mode = 0,
+                    int fusb_block_size = 0,
+                    int fusb_nblocks = 0,
+                    const std::string fpga_filename = "",
+                    const std::string firmware_filename = ""
                     ) throw (std::runtime_error);
 
 /*!

Modified: gnuradio/branches/developers/eb/cppdb-wip/gr-usrp/src/usrp_source_s.h
===================================================================
--- gnuradio/branches/developers/eb/cppdb-wip/gr-usrp/src/usrp_source_s.h       
2008-11-06 19:26:12 UTC (rev 9944)
+++ gnuradio/branches/developers/eb/cppdb-wip/gr-usrp/src/usrp_source_s.h       
2008-11-06 20:08:22 UTC (rev 9945)
@@ -38,13 +38,13 @@
 usrp_source_s_sptr
 usrp_make_source_s (int which_board, 
                     unsigned int decim_rate,
-                    int nchan,
-                    int mux,
-                    int mode,
-                    int fusb_block_size,
-                    int fusb_nblocks,
-                    const std::string fpga_filename,
-                    const std::string firmware_filename
+                    int nchan = 1,
+                    int mux = -1,
+                    int mode = 0,
+                    int fusb_block_size = 0,
+                    int fusb_nblocks = 0,
+                    const std::string fpga_filename = "",
+                    const std::string firmware_filename = ""
                     ) throw (std::runtime_error);
 
 /*!





reply via email to

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