25#ifndef INCLUDED_BLOCKS_VECTOR_SINK_F_H
26#define INCLUDED_BLOCKS_VECTOR_SINK_F_H
42 typedef boost::shared_ptr<vector_sink_f>
sptr;
53 static sptr make(
const int vlen = 1,
const int reserve_items = 1024);
57 virtual std::vector<float>
data()
const = 0;
58 virtual std::vector<tag_t>
tags()
const = 0;
float sink that writes to a vector
Definition: build/gr-blocks/include/gnuradio/blocks/vector_sink_f.h:39
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 std::vector< float > data() const =0
virtual std::vector< tag_t > tags() const =0
virtual void reset()=0
Clear the data and tags containers.
boost::shared_ptr< vector_sink_f > sptr
Definition: build/gr-blocks/include/gnuradio/blocks/vector_sink_f.h:42
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