 |
GNU Radio Manual and C++ API Reference
3.8.2.0
The Free & Open Software Radio Ecosystem
|
|
Go to the documentation of this file.
23 #ifndef INCLUDED_FEC_TAGGED_DECODER_H
24 #define INCLUDED_FEC_TAGGED_DECODER_H
29 #include <boost/shared_array.hpp>
30 #include <boost/shared_ptr.hpp>
68 typedef boost::shared_ptr<tagged_decoder>
sptr;
69 typedef boost::shared_array<unsigned char> buf_sptr;
84 size_t input_item_size,
85 size_t output_item_size,
86 const std::string& lengthtagname =
"packet_len",
89 virtual int work(
int noutput_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)
boost::shared_ptr< tagged_decoder > sptr
Definition: tagged_decoder.h:68
General FEC decoding block that takes in a decoder variable object (derived from gr::fec::general_dec...
Definition: tagged_decoder.h:66
std::vector< int > gr_vector_int
Definition: types.h:35
virtual int calculate_output_stream_length(const gr_vector_int &ninput_items)=0
Calculate the number of output items.
#define FEC_API
Definition: gr-fec/include/gnuradio/fec/api.h:30
virtual int work(int noutput_items, gr_vector_int &ninput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)=0
Just like gr::block::general_work, but makes sure the input is valid.
std::vector< const void * > gr_vector_const_void_star
Definition: types.h:40
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:43
boost::shared_ptr< generic_decoder > sptr
Definition: generic_decoder.h:75
Block that operates on PDUs in form of tagged streams.
Definition: tagged_stream_block.h:38
std::vector< void * > gr_vector_void_star
Definition: types.h:39