Cern
LibTmsApi 2.3.0

#include <SigGen.h>

Inheritance diagram for SigGenSquare:
SigGen

Public Member Functions

 SigGenSquare ()
 
virtual ~SigGenSquare ()
 
BError config (double sampleRate, double freq, double amplitude=1.0, double offset=0.0)
 
BError generate (Sample *data, int numSamples)
 
- Public Member Functions inherited from SigGen
 SigGen ()
 
virtual ~SigGen ()
 
BError config (double sampleRate)
 
virtual BError generate (Sample *data, int numSamples)
 

Public Attributes

double ofreq
 
double oamplitude
 
double ooffset
 

Additional Inherited Members

- Protected Attributes inherited from SigGen
double osampleRate
 
unsigned long long ox
 

Constructor & Destructor Documentation

◆ SigGenSquare()

SigGenSquare::SigGenSquare ( )

◆ ~SigGenSquare()

SigGenSquare::~SigGenSquare ( )
virtual

Member Function Documentation

◆ config()

BError SigGenSquare::config ( double  sampleRate,
double  freq,
double  amplitude = 1.0,
double  offset = 0.0 
)

◆ generate()

BError SigGenSquare::generate ( Sample data,
int  numSamples 
)
virtual

Reimplemented from SigGen.

Member Data Documentation

◆ oamplitude

double SigGenSquare::oamplitude

◆ ofreq

double SigGenSquare::ofreq

◆ ooffset

double SigGenSquare::ooffset

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