commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] r9463 - in usrp2/trunk/host: include/usrp2 lib


From: jcorgan
Subject: [Commit-gnuradio] r9463 - in usrp2/trunk/host: include/usrp2 lib
Date: Sat, 30 Aug 2008 15:50:21 -0600 (MDT)

Author: jcorgan
Date: 2008-08-30 15:50:21 -0600 (Sat, 30 Aug 2008)
New Revision: 9463

Added:
   usrp2/trunk/host/lib/rx_nop_handler.cc
Modified:
   usrp2/trunk/host/include/usrp2/rx_nop_handler.h
   usrp2/trunk/host/lib/Makefile.am
Log:
Don't inline destructor

Modified: usrp2/trunk/host/include/usrp2/rx_nop_handler.h
===================================================================
--- usrp2/trunk/host/include/usrp2/rx_nop_handler.h     2008-08-30 19:53:36 UTC 
(rev 9462)
+++ usrp2/trunk/host/include/usrp2/rx_nop_handler.h     2008-08-30 21:50:21 UTC 
(rev 9463)
@@ -20,6 +20,7 @@
 #define INCLUDED_RX_NOP_HANDLER_H
 
 #include <usrp2/rx_sample_handler.h>
+#include <boost/shared_ptr.hpp>
 
 /*!
  * Base class for receive handlers that must copy into potentially limited
@@ -117,11 +118,6 @@
     }
   };
   
-  rx_nop_handler::~rx_nop_handler()
-  {
-    // nop
-  }
-  
 } /* namespace usrp2 */
 
 #endif /* INCLUDED_RX_NOP_HANDLER */

Modified: usrp2/trunk/host/lib/Makefile.am
===================================================================
--- usrp2/trunk/host/lib/Makefile.am    2008-08-30 19:53:36 UTC (rev 9462)
+++ usrp2/trunk/host/lib/Makefile.am    2008-08-30 21:50:21 UTC (rev 9463)
@@ -33,6 +33,7 @@
        find.cc \
        pktfilter.cc \
        ring.cc \
+       rx_nop_handler.cc \
        rx_sample_handler.cc \
        strtod_si.c \
        usrp2.cc \

Added: usrp2/trunk/host/lib/rx_nop_handler.cc
===================================================================
--- usrp2/trunk/host/lib/rx_nop_handler.cc                              (rev 0)
+++ usrp2/trunk/host/lib/rx_nop_handler.cc      2008-08-30 21:50:21 UTC (rev 
9463)
@@ -0,0 +1,35 @@
+/* -*- c++ -*- */
+/*
+ * Copyright 2008 Free Software Foundation, Inc.
+ * 
+ * This file is part of GNU Radio
+ * 
+ * GNU Radio is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3, or (at your option)
+ * any later version.
+ * 
+ * GNU Radio is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include <usrp2/rx_nop_handler.h>
+
+namespace usrp2 {
+
+  rx_nop_handler::~rx_nop_handler()
+  {
+  }
+
+} // namespace usrp2
+





reply via email to

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