11 #ifndef INCLUDED_FEC_GENERIC_DECODER_H
12 #define INCLUDED_FEC_GENERIC_DECODER_H
59 std::string
alias() {
return d_name + std::to_string(unique_id()); }
62 typedef std::shared_ptr<generic_decoder>
sptr;
General FEC decoding block that takes in a decoder variable object (derived from gr::fec::general_dec...
Definition: decoder.h:53
Parent class for FECAPI objects.
Definition: generic_decoder.h:48
static int base_unique_id
Definition: generic_decoder.h:55
virtual int get_output_size()=0
virtual int get_input_item_size()
gr::logger_ptr d_logger
Definition: generic_decoder.h:50
int my_id
Definition: generic_decoder.h:56
virtual ~generic_decoder()
virtual int get_output_item_size()
virtual int get_input_size()=0
generic_decoder(void)
Definition: generic_decoder.h:64
virtual bool set_frame_size(unsigned int frame_size)=0
virtual float get_iterations()
Definition: generic_decoder.h:208
virtual float get_shift()
std::shared_ptr< generic_decoder > sptr
Definition: generic_decoder.h:62
virtual int get_history()
std::string d_name
Definition: generic_decoder.h:58
std::string alias()
Definition: generic_decoder.h:59
generic_decoder(std::string name)
virtual const char * get_output_conversion()
virtual void generic_work(void *inbuffer, void *outbuffer)=0
virtual const char * get_input_conversion()
#define FEC_API
Definition: gr-fec/include/gnuradio/fec/api.h:18
FEC_API const char * get_decoder_input_conversion(generic_decoder::sptr my_decoder)
FEC_API int get_decoder_input_size(generic_decoder::sptr my_decoder)
FEC_API int get_decoder_input_item_size(generic_decoder::sptr my_decoder)
FEC_API int get_history(generic_decoder::sptr my_decoder)
FEC_API float get_shift(generic_decoder::sptr my_decoder)
FEC_API const char * get_decoder_output_conversion(generic_decoder::sptr my_decoder)
FEC_API int get_decoder_output_size(generic_decoder::sptr my_decoder)
FEC_API int get_decoder_output_item_size(generic_decoder::sptr my_decoder)
GNU Radio logging wrapper.
Definition: basic_block.h:29
std::shared_ptr< logger > logger_ptr
Definition: logger.h:250