11#ifndef INCLUDED_FEC_GENERIC_ENCODER_H
12#define INCLUDED_FEC_GENERIC_ENCODER_H
37 typedef std::shared_ptr<generic_encoder>
sptr;
Creates the encoder block for use in GNU Radio flowgraphs from a given FECAPI object derived from the...
Definition: gr-fec/include/gnuradio/fec/encoder.h:36
Definition: generic_encoder.h:23
virtual void generic_work(void *in_buffer, void *out_buffer)=0
gr::logger_ptr d_logger
Definition: generic_encoder.h:25
virtual ~generic_encoder()
static int base_unique_id
Definition: generic_encoder.h:30
std::shared_ptr< generic_encoder > sptr
Definition: generic_encoder.h:37
generic_encoder(void)
Definition: generic_encoder.h:119
generic_encoder(std::string name)
virtual int get_input_size()=0
virtual int get_output_size()=0
std::string d_name
Definition: generic_encoder.h:33
virtual bool set_frame_size(unsigned int frame_size)=0
virtual const char * get_input_conversion()
int my_id
Definition: generic_encoder.h:31
virtual const char * get_output_conversion()
#define FEC_API
Definition: gr-fec/include/gnuradio/fec/api.h:18
FEC_API int get_encoder_input_size(generic_encoder::sptr my_encoder)
FEC_API const char * get_encoder_output_conversion(generic_encoder::sptr my_encoder)
FEC_API int get_encoder_output_size(generic_encoder::sptr my_encoder)
FEC_API const char * get_encoder_input_conversion(generic_encoder::sptr my_encoder)
GNU Radio logging wrapper.
Definition: basic_block.h:29
std::shared_ptr< logger > logger_ptr
Definition: logger.h:225