GNU Radio 3.6.5 C++ API
|
#include <vector_source_i_impl.h>
Public Member Functions | |
vector_source_i_impl (const std::vector< int > &data, bool repeat, int vlen, const std::vector< gr_tag_t > &tags) | |
~vector_source_i_impl () | |
void | rewind () |
void | set_data (const std::vector< int > &data, const std::vector< gr_tag_t > &tags) |
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_source_i_impl::vector_source_i_impl | ( | const std::vector< int > & | data, |
bool | repeat, | ||
int | vlen, | ||
const std::vector< gr_tag_t > & | tags | ||
) |
gr::blocks::vector_source_i_impl::~vector_source_i_impl | ( | ) |
void gr::blocks::vector_source_i_impl::rewind | ( | ) | [inline, virtual] |
Implements gr::blocks::vector_source_i.
void gr::blocks::vector_source_i_impl::set_data | ( | const std::vector< int > & | data, |
const std::vector< gr_tag_t > & | tags | ||
) | [virtual] |
Implements gr::blocks::vector_source_i.
int gr::blocks::vector_source_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.