diff options
author | Tom Rondeau <trondeau@vt.edu> | 2013-03-17 12:24:38 -0400 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2013-03-17 15:40:32 -0400 |
commit | d4f6b86a9bdea09c2c158b9982559a727f8c6a0b (patch) | |
tree | 60b452d387bd494b461ee78b2b0faec1fbf6e5fe /gr-blocks/lib/nop_impl.h | |
parent | ee2b700f72503d6e7f62adbfb7dff9997b9cb003 (diff) |
blocks: converting references to vector source/sink, null source/sink, nop, copy, head, skiphead, vector_map, and annotator blocks to use gr-blocks.
Diffstat (limited to 'gr-blocks/lib/nop_impl.h')
-rw-r--r-- | gr-blocks/lib/nop_impl.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gr-blocks/lib/nop_impl.h b/gr-blocks/lib/nop_impl.h index b236abb7aa..e01e8fc9d9 100644 --- a/gr-blocks/lib/nop_impl.h +++ b/gr-blocks/lib/nop_impl.h @@ -32,6 +32,7 @@ namespace gr { { protected: int d_nmsgs_recvd; + int d_ctrlport_test; // Method that just counts any received messages. void count_received_msgs(pmt::pmt_t msg); @@ -40,8 +41,13 @@ namespace gr { nop_impl(size_t sizeof_stream_item); ~nop_impl(); + void setup_rpc(); + int nmsgs_received() const { return d_nmsgs_recvd; } + int ctrlport_test() const { return d_ctrlport_test; } + void set_ctrlport_test(int x) { d_ctrlport_test = x; } + int general_work(int noutput_items, gr_vector_int &ninput_items, gr_vector_const_void_star &input_items, |