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

#include <gen_saw.h>

Inheritance diagram for GeneratorSaw:
Generator

Public Member Functions

 GeneratorSaw ()
 
 GeneratorSaw (double delay, double width, double amplitude, double dt)
 
 ~GeneratorSaw ()
 
void init (double delay, double width, double amplitude, double dt)
 
- Public Member Functions inherited from Generator
 Generator ()
 
 ~Generator ()
 
void clear ()
 
void init ()
 
double get ()
 
double getOne ()
 
int numSamples () const
 
int getIndex () const
 
void setIndex (int value)
 

Protected Attributes

double delay
 
double width
 
double amplitude
 
- Protected Attributes inherited from Generator
std::vector< double > wave
 
int index
 
int numsamples
 
double dt
 

Detailed Description

Definition at line 23 of file gen_saw.h.

Constructor & Destructor Documentation

GeneratorSaw::GeneratorSaw()

Definition at line 22 of file gen_saw.cpp.

GeneratorSaw::GeneratorSaw(double delay,
double width,
double amplitude,
double dt 
)

Definition at line 44 of file gen_saw.cpp.

GeneratorSaw::~GeneratorSaw()

Definition at line 64 of file gen_saw.cpp.

Member Function Documentation

void GeneratorSaw::init(double delay,
double width,
double amplitude,
double dt 
)

Definition at line 69 of file gen_saw.cpp.

Member Data Documentation

double GeneratorSaw::amplitude
protected

Definition at line 38 of file gen_saw.h.

double GeneratorSaw::delay
protected

Definition at line 36 of file gen_saw.h.

double GeneratorSaw::width
protected

Definition at line 37 of file gen_saw.h.


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