Public Methods |
| MidoBasic () |
bool | windowExists (char *) |
int | getNumCh () |
void | setNumCh (bool add) |
void | setCh1Active (bool active) |
void | setCh2Active (bool active) |
bool | getCh1Active () |
bool | getCh2Active () |
void | setSampleRate (double sR) |
void | setMaximumSampleRate (double sR) |
void | setTimeDiv (double tD) |
void | setAnalogBandwith (double bw) |
void | setNumChannel (int numCh) |
double | getSampleRate () |
double | getMaximumSampleRate () |
double | getTimeDiv () |
bool | getViewAxisX () |
bool | getViewAxisY () |
bool | getViewSampleRate () |
void | setViewAxisX (bool value) |
void | setViewAxisY (bool value) |
void | setViewSampleRate (bool value) |
void | setMenuMath (bool enable) |
void | setEnableInvertCh1 (bool value) |
void | setEnableInvertCh2 (bool value) |
void | setCh1Ch2 (int menuChecked, bool active) |
void | setInvertCh1 (bool value) |
void | setInvertCh2 (bool value) |
bool | getInvertCh1 () |
bool | getInvertCh2 () |
void | printPlot (QString filename) |
void | printPlot () |
void | setMidValueCh1 (double value) |
double | getMidValueCh1 () |
void | setMidValueCh2 (double value) |
double | getMidValueCh2 () |
const char* | version () |
Signals |
void | changeSampleRate (double sR) |
void | changeTimeDiv (double tD) |
void | changeAnalogBandwith (double bw) |
void | changeNumChannel (int numCh) |
void | axisXOsc (bool enable) |
void | axisYOsc (bool enable) |
void | sampleRateOsc (bool enable, double value) |
void | changeMenuMath (bool enable) |
void | enableInvertCh1 (bool enable) |
void | enableInvertCh2 (bool enable) |
void | changeMathCh1Ch2 (int menuChecked,bool active) |
void | changeInvertCh (int menuChecked, bool enable) |
void | doPrintPlot (QString filename) |
void | doPrintPlot () |
Private Attributes |
int | nCh |
bool | Ch1Active |
bool | Ch2Active |
double | maxSampleRate |
double | sampleRate |
double | analogBandwith |
double | timeDiv |
int | numChannel |
bool | viewAxisX |
bool | viewAxisY |
bool | viewSampleRate |
bool | invCh1 |
bool | invCh2 |
double | midValueCh1 |
double | midValueCh2 |
Gestisce la comunicazione dei vari oggetti non direttamente imparentati. Questa classe riporta un puntatore globale ai suoi membri e tramite questo e' possibile andare a leggere o settare lo stato dei piu' comuni oggetti del programma (come interuttori, menu, slider, ...)