GNU Radio 3.6.5 C++ API

gr::blocks::vector_source_i_impl Class Reference

#include <vector_source_i_impl.h>

Inheritance diagram for gr::blocks::vector_source_i_impl:
gr::blocks::vector_source_i gr_sync_block gr_block gr_basic_block gr_msg_accepter gruel::msg_accepter

List of all members.

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

Constructor & Destructor Documentation

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 ( )

Member Function Documentation

void gr::blocks::vector_source_i_impl::rewind ( ) [inline, virtual]
void gr::blocks::vector_source_i_impl::set_data ( const std::vector< int > &  data,
const std::vector< gr_tag_t > &  tags 
) [virtual]
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.


The documentation for this class was generated from the following file: