gr::fec::code::dummy_encoder
gr::fec::generic_encoder
gnuradio/fec/dummy_encoder.h
generic_encoder::sptr static generic_encoder::sptr gr::fec::code::dummy_encoder::make (int frame_size, bool pack=false, bool packed_bits=false) make gr::fec::code::dummy_encoder::make int frame_size bool pack false bool packed_bits false

Build a dummy encoding FEC API object.

frame_size

Number of bits per frame. If using in the tagged stream style, this is the maximum allowable number of bits per frame.

pack

Determines how to handle the input data stream as packed or unpacked bits. If set to True, the encoder's get_input_conversion will be set to 'pack', meaning that the data must be packed before being sent to this encoder. Generally handled through an extended encoder interface.

packed_bits

Determines how the output data stream is handled. If set to True, the encoder's get_output_conversion returns 'packed_bits', meaning that the output data of the encoder is packed and should be unpacked. Generally handled through an extended encoder interface.

bool bool gr::fec::code::dummy_encoder::set_frame_size (unsigned int frame_size) override=0 set_frame_size gr::fec::code::dummy_encoder::set_frame_size set_frame_size unsigned int frame_size

Sets the uncoded frame size to `frame_size`. If `frame_size` is greater than the value given to the constructor, the frame size will be capped by that initial value and this function will return false. Otherwise, it returns true.

double double gr::fec::code::dummy_encoder::rate () override=0 rate gr::fec::code::dummy_encoder::rate rate

Returns the coding rate of this encoder (it will always be 1).

Dummy Encoding class.

A dummy encoder class that simply passes the input to the output. It is meant to allow us to easily use the FEC API encoder and decoder blocks in an application with no coding.

gr::fec::code::dummy_encoder
gr::fec::generic_encoder
gr::fec::code::dummy_encoder
gr::fec::generic_encoder
d_logger
d_name
std::basic_string< Char >
std::shared_ptr< logger >
std::string
- gr::fec::code::dummy_encoder
  alias
- gr::fec::code::dummy_encoder
  base_unique_id
- gr::fec::code::dummy_encoder
  d_logger
- gr::fec::code::dummy_encoder
  d_name
- gr::fec::code::dummy_encoder
  generic_encoder
- gr::fec::code::dummy_encoder
  generic_encoder
- gr::fec::code::dummy_encoder
  generic_work
- gr::fec::code::dummy_encoder
  get_input_conversion
- gr::fec::code::dummy_encoder
  get_input_size
- gr::fec::code::dummy_encoder
  get_output_conversion
- gr::fec::code::dummy_encoder
  get_output_size
- gr::fec::code::dummy_encoder
  make
- gr::fec::code::dummy_encoder
  my_id
- gr::fec::code::dummy_encoder
  rate
- gr::fec::code::dummy_encoder
  set_frame_size
- gr::fec::code::dummy_encoder
  sptr
- gr::fec::code::dummy_encoder
  unique_id
- gr::fec::code::dummy_encoder
  ~generic_encoder