#include <gnuradio/fec/tpc_encoder.h>
◆ ~tpc_encoder()
gr::fec::tpc_encoder::~tpc_encoder |
( |
| ) |
|
|
override |
◆ make()
◆ rate()
double gr::fec::tpc_encoder::rate |
( |
| ) |
|
|
inlineoverridevirtual |
Returns the rate of the code. For every 1 input bit, there are r output bits, so the rate is 1/r. Used for setting things like the encoder block's relative rate.
This function MUST be reimplemented by the child class.
Implements gr::fec::generic_encoder.
◆ set_frame_size()
bool gr::fec::tpc_encoder::set_frame_size |
( |
unsigned int | frame_size | ) |
|
|
inlineoverridevirtual |
Updates the size of the frame to encode.
The child class MUST implement this function and interpret how the frame_size
information affects the block's behavior. It should also provide bounds checks.
Implements gr::fec::generic_encoder.
The documentation for this class was generated from the following file: