25#ifndef INCLUDED_BLOCKS_VECTOR_SOURCE_I_H
26#define INCLUDED_BLOCKS_VECTOR_SOURCE_I_H
70 typedef boost::shared_ptr<vector_source_i>
sptr;
73 bool repeat=
false,
int vlen=1,
74 const std::vector<tag_t> &tags=std::vector<tag_t>());
77 virtual void set_data(
const std::vector<int> &data,
78 const std::vector<tag_t> &tags=std::vector<tag_t>()) = 0;
repeat each input repeat times
Definition: repeat.h:42
Source that streams int items based on the input data vector.
Definition: vector_source_i.h:67
virtual void set_data(const std::vector< int > &data, const std::vector< tag_t > &tags=std::vector< tag_t >())=0
virtual void set_repeat(bool repeat)=0
boost::shared_ptr< vector_source_i > sptr
Definition: vector_source_i.h:70
static sptr make(const std::vector< int > &data, bool repeat=false, int vlen=1, const std::vector< tag_t > &tags=std::vector< tag_t >())
synchronous 1:1 input to output with history
Definition: sync_block.h:38
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:30
Include this header to use the message passing features.
Definition: basic_block.h:45