Public Member Functions | Private Attributes | List of all members
snProcessorADC Class Reference

Class for analog to digital conversion (ADC) of a signal. More...

#include <snProcessorADC.h>

Inheritance diagram for snProcessorADC:
snBlock

Public Member Functions

 snProcessorADC (libconfig::Setting &Settings, SNSignal pSNSignal, snWidget *psnw, ConcBuf *pConcBuf1, ConcBuf *pConcBufOut)
 constructor More...
 
 ~snProcessorADC ()
 
void run ()
 
- Public Member Functions inherited from snBlock
 snBlock (SNSignal pSNSignal)
 snBlock constructor More...
 
Blocks_Type getBlks ()
 returns current block number which is being processed More...
 
Blocks_Type getOutputBlks ()
 returns processed block number of a signal sink More...
 
Blocks_Type getTotalBlks ()
 returns total amount of blocks to be processed More...
 
double get_time_per_block ()
 
double get_blks_simulation_time ()
 returns current simulation time dependent on current block number More...
 
bool isActive ()
 returns snBlock status. will return true after requestStop() was called. More...
 
void requestStop ()
 requests to stop processing and return the snBlock main program in run() More...
 

Private Attributes

std::complex< double > * BufIn
 
std::complex< double > * BufOut
 
double intermed_freq
 
bool adc_enable
 
int adc_bits
 
int adc_states
 
bool vga_enable
 
double adc_divisor
 
double adc_highest_value
 
double adc_lowest_value
 
double vga_lowest_amplification_dB
 
double vga_highest_amplification_dB
 
double vga_lowest_amplification
 
double vga_highest_amplification
 
snCurveRealvga_ampl_curve
 
snCurveRealadc_hist_curve
 
snWidgetsnw
 
snCurveComplexcurve
 
ConcBufConcBuf1
 
ConcBufConcBufOut
 
int PlotBufSize
 

Additional Inherited Members

- Signals inherited from snBlock
void snLogSignal (const QString &mess)
 is connected in snMainWindow to the log text widget. More...
 
void snLogSignalDebug (const QString &mess, int d)
 is connected in snMainWindow to the log text widget. More...
 
- Protected Member Functions inherited from snBlock
void snLog (QString mess)
 can be used by snBlocks to log data to log text widget. More...
 
void snLogErr (QString mess)
 
void snLogDeb (QString mess, int DebugLevel)
 can be used by snBlocks to log data to log text widget. More...
 
void increaseBlks ()
 has to be called by snBlocks after processing of the actual concbuf block More...
 
void increaseOutputBlks ()
 has to be called by the sink snBlocks after processing of the actual concbuf block More...
 
void printSummary (std::string caller)
 This member function prints a summary of how much data was processed after the calling snBlock's exit. More...
 
- Protected Attributes inherited from snBlock
SNSignal Sig
 holds the simulation parameters which are common to all snBlocks More...
 
unsigned int plot_x_max
 
double max_simulation_length
 
Blocks_Type max_blocks
 

Detailed Description

Class for analog to digital conversion (ADC) of a signal.

Constructor & Destructor Documentation

snProcessorADC::snProcessorADC ( libconfig::Setting &  Settings,
SNSignal  pSNSignal,
snWidget psnw,
ConcBuf pConcBuf1,
ConcBuf pConcBufOut 
)

constructor

snProcessorADC::~snProcessorADC ( )

Member Function Documentation

void snProcessorADC::run ( )

Member Data Documentation

int snProcessorADC::adc_bits
private
double snProcessorADC::adc_divisor
private
bool snProcessorADC::adc_enable
private
double snProcessorADC::adc_highest_value
private
snCurveReal* snProcessorADC::adc_hist_curve
private
double snProcessorADC::adc_lowest_value
private
int snProcessorADC::adc_states
private
std::complex<double>* snProcessorADC::BufIn
private
std::complex<double> * snProcessorADC::BufOut
private
ConcBuf* snProcessorADC::ConcBuf1
private
ConcBuf * snProcessorADC::ConcBufOut
private
snCurveComplex* snProcessorADC::curve
private
double snProcessorADC::intermed_freq
private
int snProcessorADC::PlotBufSize
private
snWidget* snProcessorADC::snw
private
snCurveReal* snProcessorADC::vga_ampl_curve
private
bool snProcessorADC::vga_enable
private
double snProcessorADC::vga_highest_amplification
private
double snProcessorADC::vga_highest_amplification_dB
private
double snProcessorADC::vga_lowest_amplification
private
double snProcessorADC::vga_lowest_amplification_dB
private

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