25#ifndef INCLUDED_BLOCKS_VECTOR_SINK_C_H
26#define INCLUDED_BLOCKS_VECTOR_SINK_C_H
42 typedef boost::shared_ptr<vector_sink_c>
sptr;
53 static sptr make(
const int vlen = 1,
const int reserve_items = 1024);
57 virtual std::vector<gr_complex>
data()
const = 0;
58 virtual std::vector<tag_t>
tags()
const = 0;
gr_complex sink that writes to a vector
Definition: vector_sink_c.h:39
virtual std::vector< gr_complex > data() const =0
boost::shared_ptr< vector_sink_c > sptr
Definition: vector_sink_c.h:42
virtual std::vector< tag_t > tags() const =0
static sptr make(const int vlen=1, const int reserve_items=1024)
Make a new instance of the vector source, and return a shared pointer to it.
virtual void reset()=0
Clear the data and tags containers.
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