GNU Radio 3.3.0 C++ API
SpectrumGUIClass Class Reference

#include <SpectrumGUIClass.h>

List of all members.

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 waterfall3d=true, const bool time=true, const bool constellation=true, const bool use_openGL=true)
void SetDisplayTitle (const std::string)
bool GetWindowOpenFlag ()
void SetWindowOpenFlag (const bool)
void SetFrequencyRange (const double, const double, const double)
double GetStartFrequency () const
double GetStopFrequency () const
double GetCenterFrequency () const
void UpdateWindow (const bool, const std::complex< float > *, const uint64_t, const float *, const uint64_t, const float *, const uint64_t, const timespec, const bool)
float GetPowerValue () const
void SetPowerValue (const float)
int GetWindowType () const
void SetWindowType (const int)
int GetFFTSize () const
int GetFFTSizeIndex () const
void SetFFTSize (const int)
timespec GetLastGUIUpdateTime () const
void SetLastGUIUpdateTime (const timespec)
unsigned int GetPendingGUIUpdateEvents () const
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)

Static Public Attributes

static const long MAX_FFT_SIZE = 32768
static const long MIN_FFT_SIZE = 1024

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

void SpectrumGUIClass::DecrementPendingGUIUpdateEvents ( )
double SpectrumGUIClass::GetCenterFrequency ( ) const
int SpectrumGUIClass::GetFFTSize ( ) const
int SpectrumGUIClass::GetFFTSizeIndex ( ) const
timespec SpectrumGUIClass::GetLastGUIUpdateTime ( ) const
unsigned int SpectrumGUIClass::GetPendingGUIUpdateEvents ( ) const
float SpectrumGUIClass::GetPowerValue ( ) const
double SpectrumGUIClass::GetStartFrequency ( ) const
double SpectrumGUIClass::GetStopFrequency ( ) const
bool SpectrumGUIClass::GetWindowOpenFlag ( )
int SpectrumGUIClass::GetWindowType ( ) const
void SpectrumGUIClass::IncrementPendingGUIUpdateEvents ( )
void SpectrumGUIClass::OpenSpectrumWindow ( QWidget *  ,
const bool  frequency = true,
const bool  waterfall = true,
const bool  waterfall3d = true,
const bool  time = true,
const bool  constellation = true,
const bool  use_openGL = 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 timespec  )
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 std::complex< float > *  ,
const uint64_t  ,
const float *  ,
const uint64_t  ,
const float *  ,
const uint64_t  ,
const timespec  ,
const bool   
)

Member Data Documentation

const long SpectrumGUIClass::MAX_FFT_SIZE = 32768 [static]
const long SpectrumGUIClass::MIN_FFT_SIZE = 1024 [static]

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