GNU Radio 3.6.5 C++ API

digital_constellation_sector Class Reference

Sectorized digital constellationConstellation space is divided into sectors. Each sector is associated with the nearest constellation point. More...

#include <digital_constellation.h>

Inheritance diagram for digital_constellation_sector:
digital_constellation digital_constellation_psk digital_constellation_rect digital_constellation_expl_rect

List of all members.

Public Member Functions

 digital_constellation_sector (std::vector< gr_complex > constellation, std::vector< unsigned int > pre_diff_code, unsigned int rotational_symmetry, unsigned int dimensionality, unsigned int n_sectors)
unsigned int decision_maker (const gr_complex *sample)
 Returns the constellation point that matches best.

Protected Member Functions

virtual unsigned int get_sector (const gr_complex *sample)=0
virtual unsigned int calc_sector_value (unsigned int sector)=0
void find_sector_values ()

Protected Attributes

unsigned int n_sectors

Detailed Description

Sectorized digital constellation

Constellation space is divided into sectors. Each sector is associated with the nearest constellation point.

digital_constellation_sector


Constructor & Destructor Documentation

digital_constellation_sector::digital_constellation_sector ( std::vector< gr_complex constellation,
std::vector< unsigned int >  pre_diff_code,
unsigned int  rotational_symmetry,
unsigned int  dimensionality,
unsigned int  n_sectors 
)

Member Function Documentation

virtual unsigned int digital_constellation_sector::calc_sector_value ( unsigned int  sector) [protected, pure virtual]
unsigned int digital_constellation_sector::decision_maker ( const gr_complex sample) [virtual]

Returns the constellation point that matches best.

Implements digital_constellation.

void digital_constellation_sector::find_sector_values ( ) [protected]
virtual unsigned int digital_constellation_sector::get_sector ( const gr_complex sample) [protected, pure virtual]

Member Data Documentation

unsigned int digital_constellation_sector::n_sectors [protected]

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