GNU Radio's TUTORIAL Package
gr::tutorial::my_qpsk_demod_cb Class Reference

A QPSK demodulator.Maps complex symbols to unpacked bytes. More...

#include <my_qpsk_demod_cb.h>

Inheritance diagram for gr::tutorial::my_qpsk_demod_cb:
gr::tutorial::my_qpsk_demod_cb_impl

Public Types

typedef boost::shared_ptr< my_qpsk_demod_cbsptr
 

Static Public Member Functions

static sptr make (bool gray_code)
 Return a shared_ptr to a new instance of demod::my_qpsk_demod_cb. More...
 

Detailed Description

A QPSK demodulator.

Maps complex symbols to unpacked bytes.

This demodulator understands two constellations:

With Gray coding:

(1,0) | (0,0)
------+------
(1,1) | (0,1)

Without Gray coding:

(1,0) | (0,0)
---—+---—
(1,1) | (0,1)

Member Typedef Documentation

◆ sptr

Member Function Documentation

◆ make()

static sptr gr::tutorial::my_qpsk_demod_cb::make ( bool  gray_code)
static

Return a shared_ptr to a new instance of demod::my_qpsk_demod_cb.

To avoid accidental use of raw pointers, demod::my_qpsk_demod_cb's constructor is in a private implementation class. demod::my_qpsk_demod_cb::make is the public interface for creating new instances.

Parameters
gray_codeSet to true to activate the Gray code.

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