GNU Radio 3.6.5 C++ API
|
#include <vector_sink_i_impl.h>
Public Member Functions | |
vector_sink_i_impl (int vlen) | |
~vector_sink_i_impl () | |
void | reset () |
std::vector< int > | data () const |
std::vector< gr_tag_t > | tags () const |
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::vector_sink_i_impl::vector_sink_i_impl | ( | int | vlen | ) |
gr::blocks::vector_sink_i_impl::~vector_sink_i_impl | ( | ) |
std::vector<int> gr::blocks::vector_sink_i_impl::data | ( | ) | const [virtual] |
Implements gr::blocks::vector_sink_i.
void gr::blocks::vector_sink_i_impl::reset | ( | ) | [inline, virtual] |
Implements gr::blocks::vector_sink_i.
std::vector<gr_tag_t> gr::blocks::vector_sink_i_impl::tags | ( | ) | const [virtual] |
Implements gr::blocks::vector_sink_i.
int gr::blocks::vector_sink_i_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.