GNU Radio 3.6.5 C++ API
|
#include <and_const_ii_impl.h>
Public Member Functions | |
and_const_ii_impl (int k) | |
int | k () const |
Return AND constant. | |
void | set_k (int k) |
Set AND constant. | |
int | work (int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items) |
just like gr_block::general_work, only this arranges to call consume_each for you |
gr::blocks::and_const_ii_impl::and_const_ii_impl | ( | int | k | ) |
int gr::blocks::and_const_ii_impl::k | ( | ) | const [inline, virtual] |
Return AND constant.
Implements gr::blocks::and_const_ii.
void gr::blocks::and_const_ii_impl::set_k | ( | int | k | ) | [inline, virtual] |
Set AND constant.
Implements gr::blocks::and_const_ii.
int gr::blocks::and_const_ii_impl::work | ( | int | noutput_items, |
gr_vector_const_void_star & | input_items, | ||
gr_vector_void_star & | output_items | ||
) | [virtual] |
just like gr_block::general_work, only this arranges to call consume_each for you
The user must override work to define the signal processing code
Implements gr_sync_block.