25 #ifndef INCLUDED_BLOCKS_VECTOR_SOURCE_B_H 26 #define INCLUDED_BLOCKS_VECTOR_SOURCE_B_H 70 typedef boost::shared_ptr<vector_source_b>
sptr;
72 static sptr make(
const std::vector<unsigned char> &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<unsigned char> &data,
78 const std::vector<tag_t> &tags=std::vector<tag_t>()) = 0;
79 virtual void set_repeat(
bool repeat) = 0;
Source that streams unsigned char items based on the input data vector.
Definition: vector_source_b.h:66
boost::shared_ptr< vector_source_b > sptr
Definition: vector_source_b.h:70
Include this header to use the message passing features.
Definition: logger.h:695
#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