commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] r11543 - gnuradio/branches/developers/eb/vrt2/gr-vrt/s


From: eb
Subject: [Commit-gnuradio] r11543 - gnuradio/branches/developers/eb/vrt2/gr-vrt/src
Date: Thu, 6 Aug 2009 18:07:43 -0600 (MDT)

Author: eb
Date: 2009-08-06 18:07:43 -0600 (Thu, 06 Aug 2009)
New Revision: 11543

Modified:
   gnuradio/branches/developers/eb/vrt2/gr-vrt/src/vrt.i
   gnuradio/branches/developers/eb/vrt2/gr-vrt/src/vrt_source_32fc.h
Log:
added reset method to vrt_source_32fc

Modified: gnuradio/branches/developers/eb/vrt2/gr-vrt/src/vrt.i
===================================================================
--- gnuradio/branches/developers/eb/vrt2/gr-vrt/src/vrt.i       2009-08-06 
23:21:40 UTC (rev 11542)
+++ gnuradio/branches/developers/eb/vrt2/gr-vrt/src/vrt.i       2009-08-07 
00:07:43 UTC (rev 11543)
@@ -52,6 +52,7 @@
 
 public:
   ~vrt_source_32fc();
+  void reset();
 };
 
 // ----------------------------------------------------------------

Modified: gnuradio/branches/developers/eb/vrt2/gr-vrt/src/vrt_source_32fc.h
===================================================================
--- gnuradio/branches/developers/eb/vrt2/gr-vrt/src/vrt_source_32fc.h   
2009-08-06 23:21:40 UTC (rev 11542)
+++ gnuradio/branches/developers/eb/vrt2/gr-vrt/src/vrt_source_32fc.h   
2009-08-07 00:07:43 UTC (rev 11543)
@@ -40,6 +40,9 @@
   int work(int noutput_items,
           gr_vector_const_void_star &input_items,
           gr_vector_void_star &output_items);
+
+  void reset() { d_remainder.clear(); }
+
 };
 
 #endif /* INCLUDED_VRT_SOURCE_32FC_H */





reply via email to

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