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>());
76 virtual void rewind() = 0;
77 virtual void set_data(
const std::vector<short> &data,
78 const std::vector<tag_t> &tags=std::vector<tag_t>()) = 0;
79 virtual void set_repeat(
bool repeat) = 0;
Source that streams short items based on the input data vector.
Definition: vector_source_s.h:66
Include this header to use the message passing features.
Definition: logger.h:695
boost::shared_ptr< vector_source_s > sptr
Definition: vector_source_s.h:70
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:30
synchronous 1:1 input to output with historyOverride work to provide the signal processing implementa...
Definition: sync_block.h:37
repeat each input repeat timesMessage Ports:
Definition: repeat.h:40