GNU Radio's DVBS2RX Package
gr::dvbs2rx::rotator_cc Class Referenceabstract

Complex rotator. More...

#include <rotator_cc.h>

Inheritance diagram for gr::dvbs2rx::rotator_cc:

Public Types

typedef std::shared_ptr< rotator_ccsptr
 

Public Member Functions

virtual void set_phase_inc (double phase_inc)=0
 

Static Public Member Functions

static sptr make (double phase_inc=0.0, bool tag_inc_updates=false)
 Make a complex rotator block.
 

Detailed Description

Complex rotator.

Rotates an input complex sequence using a complex exponential in the form of exp(1j * phase_inc * n), where "phase_inc" is a chosen phase increment in radians and "n" is the sample index.

Message Ports:

  • cmd (input): Receives a PMT dictionary with a command message to set a new phase increment on the rotator at a specified sample offset. The new increment must be provided as a PMT double on a key named "inc". The target sample offset on which to update the phase increment must be given as a PMT uint64 (with the absolute output item number) on a key named "offset". Unlike the "inc" key, the "offset" key is optional. When not provided, the rotator updates its phase increment immediately.

Member Typedef Documentation

◆ sptr

Member Function Documentation

◆ make()

static sptr gr::dvbs2rx::rotator_cc::make ( double phase_inc = 0.0,
bool tag_inc_updates = false )
static

Make a complex rotator block.

Parameters
phase_incrotational velocity
tag_inc_updatesTag the sample where a phase increment update is applied following the reception of a control message received via the input message port.

◆ set_phase_inc()

virtual void gr::dvbs2rx::rotator_cc::set_phase_inc ( double phase_inc)
pure virtual

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