GNU Radio 3.7.3 C++ API
gr::digital::ofdm_cyclic_prefixer Class Reference

Adds a cyclic prefix and performs pulse shaping on OFDM symbols. More...

#include <gnuradio/digital/ofdm_cyclic_prefixer.h>

Inheritance diagram for gr::digital::ofdm_cyclic_prefixer:
gr::tagged_stream_block gr::block gr::basic_block gr::msg_accepter gr::messages::msg_accepter

Public Types

typedef boost::shared_ptr
< ofdm_cyclic_prefixer
sptr
 

Static Public Member Functions

static sptr make (size_t input_size, size_t output_size, int rolloff_len=0, const std::string &len_tag_key="")
 

Additional Inherited Members

- Public Member Functions inherited from gr::tagged_stream_block
void forecast (int noutput_items, gr_vector_int &ninput_items_required)
 Don't override this. More...
 
int general_work (int noutput_items, gr_vector_int &ninput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
 
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. More...
 
- Protected Types inherited from gr::basic_block
enum  vcolor { WHITE, GREY, BLACK }
 
- Protected Member Functions inherited from gr::tagged_stream_block
 tagged_stream_block (void)
 
 tagged_stream_block (const std::string &name, gr::io_signature::sptr input_signature, gr::io_signature::sptr output_signature, const std::string &length_tag_key)
 
virtual void parse_length_tags (const std::vector< std::vector< tag_t > > &tags, gr_vector_int &n_input_items_reqd)
 Parse all tags on the first sample of a PDU, return the number of items per input and prune the length tags. More...
 
virtual int calculate_output_stream_length (const gr_vector_int &ninput_items)
 Calculate the number of output items. More...
 
virtual void update_length_tags (int n_produced, int n_ports)
 Set the new length tags on the output stream. More...
 
- Protected Attributes inherited from gr::tagged_stream_block
std::string d_length_tag_key_str
 

Detailed Description

Adds a cyclic prefix and performs pulse shaping on OFDM symbols.

Input: OFDM symbols (in the time domain, i.e. after the IFFT). Optionally, entire frames can be processed. In this case, len_tag_key must be specified which holds the key of the tag that denotes how many OFDM symbols are in a frame. Output: A stream of (scalar) complex symbols, which include the cyclic prefix and the pulse shaping. Note: If complete frames are processed, and rolloff_len is greater than zero, the final OFDM symbol is followed by the delay line of the pulse shaping.

The pulse shape is a raised cosine in the time domain.

Member Typedef Documentation

Member Function Documentation

static sptr gr::digital::ofdm_cyclic_prefixer::make ( size_t  input_size,
size_t  output_size,
int  rolloff_len = 0,
const std::string &  len_tag_key = "" 
)
static
Parameters
input_sizeFFT length (i.e. length of the OFDM symbols)
output_sizeFFT length + cyclic prefix length (in samples)
rolloff_lenLength of the rolloff flank in samples
len_tag_keyFor framed processing the key of the length tag

The documentation for this class was generated from the following file: