RTXI  2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Generator Class Reference

#include <generator.h>

Inheritance diagram for Generator:
GeneratorBiphaseGeneratorMonoGeneratorSawGeneratorSineGeneratorWNoiseGeneratorZap

Public Member Functions

 Generator ()
 
 ~Generator ()
 
void clear ()
 
void init ()
 
double get ()
 
double getOne ()
 
int numSamples () const
 
int getIndex () const
 
void setIndex (int value)
 

Protected Attributes

std::vector< double > wave
 
int index
 
int numsamples
 
double dt
 

Detailed Description

Definition at line 24 of file generator.h.

Constructor & Destructor Documentation

Generator::Generator()

Definition at line 20 of file generator.cpp.

Generator::~Generator()

Definition at line 29 of file generator.cpp.

Member Function Documentation

void Generator::clear()

Definition at line 34 of file generator.cpp.

double Generator::get()

Definition at line 52 of file generator.cpp.

int Generator::getIndex()const

Definition at line 78 of file generator.cpp.

double Generator::getOne()

Definition at line 62 of file generator.cpp.

void Generator::init()

Definition at line 43 of file generator.cpp.

int Generator::numSamples()const

Definition at line 72 of file generator.cpp.

void Generator::setIndex(int value)

Definition at line 84 of file generator.cpp.

Member Data Documentation

double Generator::dt
protected

Definition at line 57 of file generator.h.

int Generator::index
protected

Definition at line 55 of file generator.h.

int Generator::numsamples
protected

Definition at line 56 of file generator.h.

std::vector<double> Generator::wave
protected

Definition at line 54 of file generator.h.


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