|
GNU Radio 3.6.5 C++ API
|
Takes an OFDM symbol in, demaps it into bits of 0's and 1's, packs them into packets, and sends to to a message queue sink. More...
#include <gr_ofdm_frame_sink2.h>
Public Member Functions | |
| ~gr_ofdm_frame_sink2 () | |
| int | work (int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items) |
| just like gr_block::general_work, only this arranges to call consume_each for you | |
Protected Member Functions | |
| gr_ofdm_frame_sink2 (gr_constellation_sptr constell, gr_msg_queue_sptr target_queue, unsigned int occupied_tones, float phase_gain, float freq_gain) | |
| void | enter_search () |
| void | enter_have_sync () |
| void | enter_have_header () |
| bool | header_ok () |
| unsigned char | slicer (const gr_complex x) |
| unsigned int | demapper (const gr_complex *in, unsigned char *out) |
Friends | |
| GR_CORE_API gr_ofdm_frame_sink2_sptr | gr_make_ofdm_frame_sink2 (gr_constellation_sptr constell, gr_msg_queue_sptr target_queue, unsigned int occupied_tones, float phase_gain, float freq_gain) |
Takes an OFDM symbol in, demaps it into bits of 0's and 1's, packs them into packets, and sends to to a message queue sink.
NOTE: The mod input parameter simply chooses a pre-defined demapper/slicer. Eventually, we want to be able to pass in a reference to an object to do the demapping and slicing for a given modulation type.
| gr_ofdm_frame_sink2::gr_ofdm_frame_sink2 | ( | gr_constellation_sptr | constell, |
| gr_msg_queue_sptr | target_queue, | ||
| unsigned int | occupied_tones, | ||
| float | phase_gain, | ||
| float | freq_gain | ||
| ) | [protected] |
| gr_ofdm_frame_sink2::~gr_ofdm_frame_sink2 | ( | ) |
| unsigned int gr_ofdm_frame_sink2::demapper | ( | const gr_complex * | in, |
| unsigned char * | out | ||
| ) | [protected] |
| void gr_ofdm_frame_sink2::enter_have_header | ( | ) | [protected] |
| void gr_ofdm_frame_sink2::enter_have_sync | ( | ) | [protected] |
| void gr_ofdm_frame_sink2::enter_search | ( | ) | [protected] |
| bool gr_ofdm_frame_sink2::header_ok | ( | ) | [inline, protected] |
| unsigned char gr_ofdm_frame_sink2::slicer | ( | const gr_complex | x | ) | [protected] |
| int gr_ofdm_frame_sink2::work | ( | int | noutput_items, |
| gr_vector_const_void_star & | input_items, | ||
| gr_vector_void_star & | output_items | ||
| ) | [virtual] |
just like gr_block::general_work, only this arranges to call consume_each for you
The user must override work to define the signal processing code
Implements gr_sync_block.
| GR_CORE_API gr_ofdm_frame_sink2_sptr gr_make_ofdm_frame_sink2 | ( | gr_constellation_sptr | constell, |
| gr_msg_queue_sptr | target_queue, | ||
| unsigned int | occupied_tones, | ||
| float | phase_gain, | ||
| float | freq_gain | ||
| ) | [friend] |