25#ifndef INCLUDED_BLOCKS_VECTOR_SOURCE_S_H
26#define INCLUDED_BLOCKS_VECTOR_SOURCE_S_H
70 typedef boost::shared_ptr<vector_source_s>
sptr;
72 static sptr make(
const std::vector<short> &data,
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<short> &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 short items based on the input data vector.
Definition: vector_source_s.h:67
virtual void set_data(const std::vector< short > &data, const std::vector< tag_t > &tags=std::vector< tag_t >())=0
boost::shared_ptr< vector_source_s > sptr
Definition: vector_source_s.h:70
virtual void set_repeat(bool repeat)=0
static sptr make(const std::vector< short > &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