12 #ifndef VECTOR_SOURCE_H
13 #define VECTOR_SOURCE_H
59 typedef std::shared_ptr<vector_source<T>>
sptr;
63 unsigned int vlen = 1,
64 const std::vector<tag_t>& tags = std::vector<tag_t>());
67 virtual void set_data(
const std::vector<T>& data,
68 const std::vector<tag_t>& tags = std::vector<tag_t>()) = 0;
repeat each input repeat times
Definition: repeat.h:30
Source that streams T items based on the input data vector.
Definition: vector_source.h:56
static sptr make(const std::vector< T > &data, bool repeat=false, unsigned int vlen=1, const std::vector< tag_t > &tags=std::vector< tag_t >())
std::shared_ptr< vector_source< T > > sptr
Definition: vector_source.h:59
virtual void set_repeat(bool repeat)=0
virtual void set_data(const std::vector< T > &data, const std::vector< tag_t > &tags=std::vector< tag_t >())=0
synchronous 1:1 input to output with history
Definition: sync_block.h:26
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:18
vector_source< std::int32_t > vector_source_i
Definition: vector_source.h:74
vector_source< std::int16_t > vector_source_s
Definition: vector_source.h:73
vector_source< float > vector_source_f
Definition: vector_source.h:75
vector_source< std::uint8_t > vector_source_b
Definition: vector_source.h:72
vector_source< gr_complex > vector_source_c
Definition: vector_source.h:76
GNU Radio logging wrapper.
Definition: basic_block.h:29