msl 1.3.0
Loading...
Searching...
No Matches
msl::PhaseCycling Class Reference

Detailed Description

Compute phase cycling with linear and quadratic increments.

#include <PhaseCycling.h>

Public Member Functions

 PhaseCycling (long linearIncrement=0, long quadraticIncrement=0)
 Create a phase cycling object with specified increments.
long linearIncrement () const
 Return the linear increment of the phase cycling, in degrees.
PhaseCyclingsetLinearIncrement (long linearIncrement)
 Set the linear increment of the phase cycling, in degrees.
long quadraticIncrement () const
 Return the quadratic increment of the phase cycling, in degrees.
PhaseCyclingsetQuadraticIncrement (long quadraticIncrement)
 Set the quadratic increment of the phase cycling, in degrees.
long phase () const
 Return the current phase in degrees modulo 360.
PhaseCyclingoperator++ ()
 Increment the phase cycling and return the current object.
PhaseCycling operator++ (int)
 Increment the phase cycling and return the previous object.
PhaseCyclingreset ()
 Reset the phase cycling to 0.

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