#include <DiffAmp.h>
Public Member Functions | |
DiffAmp () | |
~DiffAmp () | |
void | setGain (double gain) |
double | getGain () const |
void | setSaturation (double saturation) |
double | getSaturation () const |
double | getOutput () const |
void | plusFunc (double input) |
void | minusFunc (double input) |
void | process (const Eref &e, ProcPtr p) |
void | reinit (const Eref &e, ProcPtr p) |
Static Public Member Functions | |
static const Cinfo * | initCinfo () |
Protected Attributes | |
double | gain_ |
double | saturation_ |
double | plus_ |
double | minus_ |
double | output_ |
DiffAmp::DiffAmp | ( | ) |
DiffAmp::~DiffAmp | ( | ) |
double DiffAmp::getGain | ( | ) | const |
References gain_.
Referenced by initCinfo().
double DiffAmp::getOutput | ( | ) | const |
References output_.
Referenced by initCinfo().
double DiffAmp::getSaturation | ( | ) | const |
References saturation_.
Referenced by initCinfo().
const Cinfo * DiffAmp::initCinfo | ( | ) | [static] |
References getGain(), getOutput(), getSaturation(), Neutral::initCinfo(), minusFunc(), plusFunc(), process(), reinit(), setGain(), and setSaturation().
void DiffAmp::minusFunc | ( | double | input | ) |
References minus_.
Referenced by initCinfo().
void DiffAmp::plusFunc | ( | double | input | ) |
References plus_.
Referenced by initCinfo().
References gain_, minus_, output_, plus_, and saturation_.
Referenced by initCinfo().
References minus_, output_, and plus_.
Referenced by initCinfo().
void DiffAmp::setGain | ( | double | gain | ) |
References gain_.
Referenced by initCinfo().
void DiffAmp::setSaturation | ( | double | saturation | ) |
References saturation_.
Referenced by initCinfo().
double DiffAmp::gain_ [protected] |
double DiffAmp::minus_ [protected] |
Referenced by minusFunc(), process(), and reinit().
double DiffAmp::output_ [protected] |
Referenced by getOutput(), process(), and reinit().
double DiffAmp::plus_ [protected] |
Referenced by plusFunc(), process(), and reinit().
double DiffAmp::saturation_ [protected] |
Referenced by getSaturation(), process(), and setSaturation().