summaryrefslogtreecommitdiff
path: root/gr-blocks/lib/and_XX_impl.h.t
diff options
context:
space:
mode:
authorJohnathan Corgan2012-07-02 08:36:46 -0700
committerJohnathan Corgan2012-07-02 08:36:46 -0700
commitcc085e128901a9f3e8bfcc45d1834a62d747726c (patch)
tree18c7542c4751fd3d0dbe6504a6d5f35b8d3bb392 /gr-blocks/lib/and_XX_impl.h.t
parent70d89e2051264876055fe9f73cbcb2823806b3ee (diff)
downloadgnuradio-cc085e128901a9f3e8bfcc45d1834a62d747726c.tar.gz
gnuradio-cc085e128901a9f3e8bfcc45d1834a62d747726c.tar.bz2
gnuradio-cc085e128901a9f3e8bfcc45d1834a62d747726c.zip
blocks: added gr::blocks::add_XX (bb ss ii)
Diffstat (limited to 'gr-blocks/lib/and_XX_impl.h.t')
-rw-r--r--gr-blocks/lib/and_XX_impl.h.t48
1 files changed, 48 insertions, 0 deletions
diff --git a/gr-blocks/lib/and_XX_impl.h.t b/gr-blocks/lib/and_XX_impl.h.t
new file mode 100644
index 000000000..25f0da0c8
--- /dev/null
+++ b/gr-blocks/lib/and_XX_impl.h.t
@@ -0,0 +1,48 @@
+/* -*- c++ -*- */
+/*
+ * Copyright 2012 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 GNU Radio; see the file COPYING. If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street,
+ * Boston, MA 02110-1301, USA.
+ */
+
+// @WARNING@
+
+#ifndef @GUARD_NAME_IMPL@
+#define @GUARD_NAME_IMPL@
+
+#include <blocks/@NAME@.h>
+
+namespace gr {
+ namespace blocks {
+
+ class BLOCKS_API @NAME_IMPL@ : public @NAME@
+ {
+ size_t d_vlen;
+
+ public:
+ @NAME_IMPL@(size_t vlen);
+
+ int work(int noutput_items,
+ gr_vector_const_void_star &input_items,
+ gr_vector_void_star &output_items);
+ };
+
+ } /* namespace blocks */
+} /* namespace gr */
+
+#endif /* @GUARD_NAME_IMPL@ */