12#ifndef TSB_VECTOR_SINK_H
13#define TSB_VECTOR_SINK_H
33 typedef std::shared_ptr<tsb_vector_sink<T>>
sptr;
36 virtual std::vector<std::vector<T>>
data()
const = 0;
39 virtual std::vector<tag_t>
tags()
const = 0;
45 static sptr make(
unsigned int vlen = 1,
const std::string& tsb_key =
"ts_last");
A vector sink for tagged streams.
Definition: tsb_vector_sink.h:31
virtual std::vector< std::vector< T > > data() const =0
virtual std::vector< tag_t > tags() const =0
std::shared_ptr< tsb_vector_sink< T > > sptr
Definition: tsb_vector_sink.h:33
static sptr make(unsigned int vlen=1, const std::string &tsb_key="ts_last")
Block that operates on PDUs in form of tagged streams.
Definition: tagged_stream_block.h:26
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:18
tsb_vector_sink< std::uint16_t > tsb_vector_sink_s
Definition: tsb_vector_sink.h:49
tsb_vector_sink< float > tsb_vector_sink_f
Definition: tsb_vector_sink.h:50
tsb_vector_sink< gr_complex > tsb_vector_sink_c
Definition: tsb_vector_sink.h:51
tsb_vector_sink< std::uint8_t > tsb_vector_sink_b
Definition: tsb_vector_sink.h:47
tsb_vector_sink< std::uint32_t > tsb_vector_sink_i
Definition: tsb_vector_sink.h:48
GNU Radio logging wrapper.
Definition: basic_block.h:29