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

snProcessorChannel implements convolution of a base band signal through a linear channel through FIR filtering. More...

#include <snProcessorChannel.h>

Inheritance diagram for snProcessorChannel:
snBlock

Public Types

enum  interpolation_types { SINC, RRC }
 

Public Member Functions

 snProcessorChannel (libconfig::Setting &Settings, SNSignal pSNSignal, ProcessingParameters &ProcSig, snWidget *psnwCIR, snWidget *psnwFIR, snWidget *psnw, ConcBuf *pConcBuf1, ConcBuf *pConcBuf2)
 
 ~snProcessorChannel ()
 
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

interpolation_types interpolation_type
 
double rrc_rolloff_factor
 
snReadCIRFilefile
 
double add_delay
 
Blocks_Type aCIR
 
double CIRrate
 
double interpolation_bandwidth
 
double MaxDelay
 
int aFIR
 
snWidgetcir_snw
 
snWidgetfir_snw
 
snWidgetout_snw
 
snCurveComplexfir_curve
 
snCurveComplexcir_curve
 
snCurveComplexout_curve
 
ConcBufConcBuf1
 
ConcBufConcBuf2
 

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

snProcessorChannel implements convolution of a base band signal through a linear channel through FIR filtering.

Member Enumeration Documentation

Enumerator
SINC 
RRC 

Constructor & Destructor Documentation

snProcessorChannel::snProcessorChannel ( libconfig::Setting &  Settings,
SNSignal  pSNSignal,
ProcessingParameters ProcSig,
snWidget psnwCIR,
snWidget psnwFIR,
snWidget psnw,
ConcBuf pConcBuf1,
ConcBuf pConcBuf2 
)
snProcessorChannel::~snProcessorChannel ( )

Member Function Documentation

void snProcessorChannel::run ( )

Member Data Documentation

Blocks_Type snProcessorChannel::aCIR
private
double snProcessorChannel::add_delay
private
int snProcessorChannel::aFIR
private
snCurveComplex* snProcessorChannel::cir_curve
private
snWidget* snProcessorChannel::cir_snw
private
double snProcessorChannel::CIRrate
private
ConcBuf* snProcessorChannel::ConcBuf1
private
ConcBuf * snProcessorChannel::ConcBuf2
private
snReadCIRFile* snProcessorChannel::file
private
snCurveComplex* snProcessorChannel::fir_curve
private
snWidget * snProcessorChannel::fir_snw
private
double snProcessorChannel::interpolation_bandwidth
private
interpolation_types snProcessorChannel::interpolation_type
private
double snProcessorChannel::MaxDelay
private
snCurveComplex* snProcessorChannel::out_curve
private
snWidget * snProcessorChannel::out_snw
private
double snProcessorChannel::rrc_rolloff_factor
private

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