11 #ifndef INCLUDED_FEC_TAGGED_DECODER_H
12 #define INCLUDED_FEC_TAGGED_DECODER_H
55 typedef std::shared_ptr<tagged_decoder>
sptr;
70 size_t input_item_size,
71 size_t output_item_size,
72 const std::string& lengthtagname =
"packet_len",
75 int work(
int noutput_items,
std::shared_ptr< generic_decoder > sptr
Definition: generic_decoder.h:62
General FEC decoding block that takes in a decoder variable object (derived from gr::fec::general_dec...
Definition: tagged_decoder.h:53
int calculate_output_stream_length(const gr_vector_int &ninput_items) override=0
Calculate the number of output items.
static sptr make(generic_decoder::sptr my_decoder, size_t input_item_size, size_t output_item_size, const std::string &lengthtagname="packet_len", int mtu=1500)
std::shared_ptr< tagged_decoder > sptr
Definition: tagged_decoder.h:55
int work(int noutput_items, gr_vector_int &ninput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items) override=0
Just like gr::block::general_work, but makes sure the input is valid.
Block that operates on PDUs in form of tagged streams.
Definition: tagged_stream_block.h:26
#define FEC_API
Definition: gr-fec/include/gnuradio/fec/api.h:18
GNU Radio logging wrapper.
Definition: basic_block.h:29
std::vector< const void * > gr_vector_const_void_star
Definition: types.h:28
std::vector< void * > gr_vector_void_star
Definition: types.h:27
std::vector< int > gr_vector_int
Definition: types.h:23