GNU Radio Manual and C++ API Reference  3.7.9.2
The Free & Open Software Radio Ecosystem
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages

QWidget class for controlling plotting. More...

#include <gnuradio/qtgui/SpectrumGUIClass.h>

Public Member Functions

 SpectrumGUIClass (const uint64_t maxDataSize, const uint64_t fftSize, const double newCenterFrequency, const double newStartFrequency, const double newStopFrequency)
 
 ~SpectrumGUIClass ()
 
void reset ()
 
void openSpectrumWindow (QWidget *, const bool frequency=true, const bool waterfall=true, const bool time=true, const bool constellation=true)
 
void setDisplayTitle (const std::string)
 
bool getWindowOpenFlag ()
 
void setWindowOpenFlag (const bool)
 
void setFrequencyRange (const double, const double, const double)
 
double getStartFrequency ()
 
double getStopFrequency ()
 
double getCenterFrequency ()
 
void updateWindow (const bool, const float *, const uint64_t, const float *, const uint64_t, const float *, const uint64_t, const gr::high_res_timer_type, const bool)
 
float getPowerValue ()
 
void setPowerValue (const float)
 
int getWindowType ()
 
void setWindowType (const int)
 
int getFFTSize ()
 
int getFFTSizeIndex ()
 
void setFFTSize (const int)
 
gr::high_res_timer_type getLastGUIUpdateTime ()
 
void setLastGUIUpdateTime (const gr::high_res_timer_type)
 
unsigned int getPendingGUIUpdateEvents ()
 
void incrementPendingGUIUpdateEvents ()
 
void decrementPendingGUIUpdateEvents ()
 
void resetPendingGUIUpdateEvents ()
 
QWidget * qwidget ()
 
void setTimeDomainAxis (double min, double max)
 
void setConstellationAxis (double xmin, double xmax, double ymin, double ymax)
 
void setConstellationPenSize (int size)
 
void setFrequencyAxis (double min, double max)
 
void setUpdateTime (double t)
 
void enableRFFreq (bool en)
 
bool checkClicked ()
 
float getClickedFreq ()
 

Static Public Attributes

static const long MAX_FFT_SIZE
 
static const long MIN_FFT_SIZE
 

Detailed Description

QWidget class for controlling plotting.

Constructor & Destructor Documentation

SpectrumGUIClass::SpectrumGUIClass ( const uint64_t  maxDataSize,
const uint64_t  fftSize,
const double  newCenterFrequency,
const double  newStartFrequency,
const double  newStopFrequency 
)
SpectrumGUIClass::~SpectrumGUIClass ( )

Member Function Documentation

bool SpectrumGUIClass::checkClicked ( )
void SpectrumGUIClass::decrementPendingGUIUpdateEvents ( )
void SpectrumGUIClass::enableRFFreq ( bool  en)
double SpectrumGUIClass::getCenterFrequency ( )
float SpectrumGUIClass::getClickedFreq ( )
int SpectrumGUIClass::getFFTSize ( )
int SpectrumGUIClass::getFFTSizeIndex ( )
gr::high_res_timer_type SpectrumGUIClass::getLastGUIUpdateTime ( )
unsigned int SpectrumGUIClass::getPendingGUIUpdateEvents ( )
float SpectrumGUIClass::getPowerValue ( )
double SpectrumGUIClass::getStartFrequency ( )
double SpectrumGUIClass::getStopFrequency ( )
bool SpectrumGUIClass::getWindowOpenFlag ( )
int SpectrumGUIClass::getWindowType ( )
void SpectrumGUIClass::incrementPendingGUIUpdateEvents ( )
void SpectrumGUIClass::openSpectrumWindow ( QWidget *  ,
const bool  frequency = true,
const bool  waterfall = true,
const bool  time = true,
const bool  constellation = true 
)
QWidget* SpectrumGUIClass::qwidget ( )
void SpectrumGUIClass::reset ( )
void SpectrumGUIClass::resetPendingGUIUpdateEvents ( )
void SpectrumGUIClass::setConstellationAxis ( double  xmin,
double  xmax,
double  ymin,
double  ymax 
)
void SpectrumGUIClass::setConstellationPenSize ( int  size)
void SpectrumGUIClass::setDisplayTitle ( const std::string  )
void SpectrumGUIClass::setFFTSize ( const int  )
void SpectrumGUIClass::setFrequencyAxis ( double  min,
double  max 
)
void SpectrumGUIClass::setFrequencyRange ( const double  ,
const double  ,
const double   
)
void SpectrumGUIClass::setLastGUIUpdateTime ( const gr::high_res_timer_type  )
void SpectrumGUIClass::setPowerValue ( const float  )
void SpectrumGUIClass::setTimeDomainAxis ( double  min,
double  max 
)
void SpectrumGUIClass::setUpdateTime ( double  t)
void SpectrumGUIClass::setWindowOpenFlag ( const bool  )
void SpectrumGUIClass::setWindowType ( const int  )
void SpectrumGUIClass::updateWindow ( const bool  ,
const float *  ,
const uint64_t  ,
const float *  ,
const uint64_t  ,
const float *  ,
const uint64_t  ,
const gr::high_res_timer_type  ,
const bool   
)

Member Data Documentation

const long SpectrumGUIClass::MAX_FFT_SIZE
static
const long SpectrumGUIClass::MIN_FFT_SIZE
static

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