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

#include <generator.h>

Inheritance diagram for Generator:

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


Definition at line 20 of file generator.cpp.


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

Definition at line 57 of file generator.h.

int Generator::index

Definition at line 55 of file generator.h.

int Generator::numsamples

Definition at line 56 of file generator.h.

std::vector<double> Generator::wave

Definition at line 54 of file generator.h.

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