SDRAngel  4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
Public Types | Public Member Functions | Public Attributes | List of all members
TestMIStreamSettings Struct Reference

#include <testmisettings.h>

Public Types

enum  fcPos_t { FC_POS_INFRA = 0, FC_POS_SUPRA, FC_POS_CENTER }
 
enum  AutoCorrOptions { AutoCorrNone, AutoCorrDC, AutoCorrDCAndIQ, AutoCorrLast }
 
enum  Modulation {
  ModulationNone, ModulationAM, ModulationFM, ModulationPattern0,
  ModulationPattern1, ModulationPattern2, ModulationLast
}
 

Public Member Functions

 TestMIStreamSettings ()
 
void resetToDefaults ()
 

Public Attributes

quint64 m_centerFrequency
 
qint32 m_frequencyShift
 
quint32 m_sampleRate
 
quint32 m_log2Decim
 
fcPos_t m_fcPos
 
quint32 m_sampleSizeIndex
 
qint32 m_amplitudeBits
 
AutoCorrOptions m_autoCorrOptions
 
Modulation m_modulation
 
int m_modulationTone
 10'Hz More...
 
int m_amModulation
 percent More...
 
int m_fmDeviation
 100'Hz More...
 
float m_dcFactor
 -1.0 < x < 1.0 More...
 
float m_iFactor
 -1.0 < x < 1.0 More...
 
float m_qFactor
 -1.0 < x < 1.0 More...
 
float m_phaseImbalance
 -1.0 < x < 1.0 More...
 

Detailed Description

Definition at line 23 of file testmisettings.h.

Member Enumeration Documentation

◆ AutoCorrOptions

◆ fcPos_t

Enumerator
FC_POS_INFRA 
FC_POS_SUPRA 
FC_POS_CENTER 

Definition at line 24 of file testmisettings.h.

◆ Modulation

Constructor & Destructor Documentation

◆ TestMIStreamSettings()

TestMIStreamSettings::TestMIStreamSettings ( )

Definition at line 22 of file testmisettings.cpp.

References resetToDefaults().

Referenced by TestMISettings::TestMISettings().

23 {
25 }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Function Documentation

◆ resetToDefaults()

void TestMIStreamSettings::resetToDefaults ( )

Definition at line 27 of file testmisettings.cpp.

References AutoCorrNone, FC_POS_CENTER, m_amModulation, m_amplitudeBits, m_autoCorrOptions, m_centerFrequency, m_dcFactor, m_fcPos, m_fmDeviation, m_frequencyShift, m_iFactor, m_log2Decim, m_modulation, m_modulationTone, m_phaseImbalance, m_qFactor, m_sampleRate, m_sampleSizeIndex, and ModulationNone.

Referenced by TestMIStreamSettings().

28 {
29  m_centerFrequency = 435000*1000;
30  m_frequencyShift = 0;
31  m_sampleRate = 768*1000;
32  m_log2Decim = 4;
35  m_amplitudeBits = 127;
38  m_modulationTone = 44; // 440 Hz
39  m_amModulation = 50; // 50%
40  m_fmDeviation = 50; // 5 kHz
41  m_dcFactor = 0.0f;
42  m_iFactor = 0.0f;
43  m_qFactor = 0.0f;
44  m_phaseImbalance = 0.0f;
45 }
int m_modulationTone
10&#39;Hz
int m_fmDeviation
100&#39;Hz
float m_iFactor
-1.0 < x < 1.0
float m_dcFactor
-1.0 < x < 1.0
float m_phaseImbalance
-1.0 < x < 1.0
float m_qFactor
-1.0 < x < 1.0
AutoCorrOptions m_autoCorrOptions
int m_amModulation
percent
+ Here is the caller graph for this function:

Member Data Documentation

◆ m_amModulation

int TestMIStreamSettings::m_amModulation

percent

Definition at line 57 of file testmisettings.h.

Referenced by resetToDefaults().

◆ m_amplitudeBits

qint32 TestMIStreamSettings::m_amplitudeBits

Definition at line 53 of file testmisettings.h.

Referenced by resetToDefaults().

◆ m_autoCorrOptions

AutoCorrOptions TestMIStreamSettings::m_autoCorrOptions

Definition at line 54 of file testmisettings.h.

Referenced by resetToDefaults().

◆ m_centerFrequency

quint64 TestMIStreamSettings::m_centerFrequency

Definition at line 47 of file testmisettings.h.

Referenced by resetToDefaults().

◆ m_dcFactor

float TestMIStreamSettings::m_dcFactor

-1.0 < x < 1.0

Definition at line 59 of file testmisettings.h.

Referenced by resetToDefaults().

◆ m_fcPos

fcPos_t TestMIStreamSettings::m_fcPos

Definition at line 51 of file testmisettings.h.

Referenced by resetToDefaults().

◆ m_fmDeviation

int TestMIStreamSettings::m_fmDeviation

100'Hz

Definition at line 58 of file testmisettings.h.

Referenced by resetToDefaults().

◆ m_frequencyShift

qint32 TestMIStreamSettings::m_frequencyShift

Definition at line 48 of file testmisettings.h.

Referenced by resetToDefaults().

◆ m_iFactor

float TestMIStreamSettings::m_iFactor

-1.0 < x < 1.0

Definition at line 60 of file testmisettings.h.

Referenced by resetToDefaults().

◆ m_log2Decim

quint32 TestMIStreamSettings::m_log2Decim

Definition at line 50 of file testmisettings.h.

Referenced by resetToDefaults().

◆ m_modulation

Modulation TestMIStreamSettings::m_modulation

Definition at line 55 of file testmisettings.h.

Referenced by resetToDefaults().

◆ m_modulationTone

int TestMIStreamSettings::m_modulationTone

10'Hz

Definition at line 56 of file testmisettings.h.

Referenced by resetToDefaults().

◆ m_phaseImbalance

float TestMIStreamSettings::m_phaseImbalance

-1.0 < x < 1.0

Definition at line 62 of file testmisettings.h.

Referenced by resetToDefaults().

◆ m_qFactor

float TestMIStreamSettings::m_qFactor

-1.0 < x < 1.0

Definition at line 61 of file testmisettings.h.

Referenced by resetToDefaults().

◆ m_sampleRate

quint32 TestMIStreamSettings::m_sampleRate

Definition at line 49 of file testmisettings.h.

Referenced by resetToDefaults().

◆ m_sampleSizeIndex

quint32 TestMIStreamSettings::m_sampleSizeIndex

Definition at line 52 of file testmisettings.h.

Referenced by resetToDefaults().


The documentation for this struct was generated from the following files: