summaryrefslogtreecommitdiff
path: root/gr-usrp
diff options
context:
space:
mode:
authorEric Blossom <eb@comsec.com>2010-08-03 13:36:18 -0700
committerEric Blossom <eb@comsec.com>2010-08-03 13:43:42 -0700
commit0a9b999b5cce596f4de05828005f698047e14ce9 (patch)
tree3d77eabfdc798322a13cceb9253da152470bdbd9 /gr-usrp
parentfa56c39802a82e6e0e730813a57e86e1aea09a24 (diff)
Modify all block factories to use gnuradio::get_initial_sptr.
Diffstat (limited to 'gr-usrp')
-rw-r--r--gr-usrp/src/usrp_sink_c.cc4
-rw-r--r--gr-usrp/src/usrp_sink_s.cc4
-rw-r--r--gr-usrp/src/usrp_source_c.cc4
-rw-r--r--gr-usrp/src/usrp_source_s.cc4
4 files changed, 8 insertions, 8 deletions
diff --git a/gr-usrp/src/usrp_sink_c.cc b/gr-usrp/src/usrp_sink_c.cc
index 40750b477d..7054158d8a 100644
--- a/gr-usrp/src/usrp_sink_c.cc
+++ b/gr-usrp/src/usrp_sink_c.cc
@@ -1,6 +1,6 @@
/* -*- c++ -*- */
/*
- * Copyright 2004,2006,2009 Free Software Foundation, Inc.
+ * Copyright 2004,2006,2009,2010 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
@@ -40,7 +40,7 @@ usrp_make_sink_c (int which_board,
const std::string firmware_filename
) throw (std::runtime_error)
{
- return usrp_sink_c_sptr (new usrp_sink_c (which_board,
+ return gnuradio::get_initial_sptr(new usrp_sink_c (which_board,
interp_rate,
nchan,
mux,
diff --git a/gr-usrp/src/usrp_sink_s.cc b/gr-usrp/src/usrp_sink_s.cc
index 1f51da24db..1ffaeed963 100644
--- a/gr-usrp/src/usrp_sink_s.cc
+++ b/gr-usrp/src/usrp_sink_s.cc
@@ -1,6 +1,6 @@
/* -*- c++ -*- */
/*
- * Copyright 2004,2006,2009 Free Software Foundation, Inc.
+ * Copyright 2004,2006,2009,2010 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
@@ -40,7 +40,7 @@ usrp_make_sink_s (int which_board,
const std::string firmware_filename
) throw (std::runtime_error)
{
- return usrp_sink_s_sptr (new usrp_sink_s (which_board,
+ return gnuradio::get_initial_sptr(new usrp_sink_s (which_board,
interp_rate,
nchan,
mux,
diff --git a/gr-usrp/src/usrp_source_c.cc b/gr-usrp/src/usrp_source_c.cc
index 26d95dc1b3..9055f3ee76 100644
--- a/gr-usrp/src/usrp_source_c.cc
+++ b/gr-usrp/src/usrp_source_c.cc
@@ -1,6 +1,6 @@
/* -*- c++ -*- */
/*
- * Copyright 2004,2006,2009 Free Software Foundation, Inc.
+ * Copyright 2004,2006,2009,2010 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
@@ -43,7 +43,7 @@ usrp_make_source_c (int which_board,
const std::string firmware_filename
) throw (std::runtime_error)
{
- return usrp_source_c_sptr (new usrp_source_c (which_board,
+ return gnuradio::get_initial_sptr(new usrp_source_c (which_board,
decim_rate,
nchan,
mux,
diff --git a/gr-usrp/src/usrp_source_s.cc b/gr-usrp/src/usrp_source_s.cc
index 88b8495d36..8e1c2f188b 100644
--- a/gr-usrp/src/usrp_source_s.cc
+++ b/gr-usrp/src/usrp_source_s.cc
@@ -1,6 +1,6 @@
/* -*- c++ -*- */
/*
- * Copyright 2004,2006,2009 Free Software Foundation, Inc.
+ * Copyright 2004,2006,2009,2010 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
@@ -43,7 +43,7 @@ usrp_make_source_s (int which_board,
const std::string firmware_filename
) throw (std::runtime_error)
{
- return usrp_source_s_sptr (new usrp_source_s (which_board,
+ return gnuradio::get_initial_sptr(new usrp_source_s (which_board,
decim_rate,
nchan,
mux,