direcs
2012-09-30
|
Gets values from sensors and plots them in (emits them to) the GUI. More...
#include <plotThread.h>
Signals | |
void | plotDataComplete1 (double *xval1, double *yval1, int size) |
void | plotDataComplete2 (double *xval2, double *yval2, int size) |
void | plotDataComplete3 (double *xval3, double *yval3, int size) |
void | plotDataComplete4 (double *xval4, double *yval4, int size) |
void | plotDataComplete5 (double *xval4, double *yval4, int size) |
void | plotDataComplete6 (double *xval4, double *yval4, int size) |
void | plotDataCompleteHeartbeat (double *xval4, double *yval4, int size) |
Public Member Functions | |
PlotThread (SensorThread *s) | |
virtual void | run () |
void | stop () |
~PlotThread () |
Private Attributes | |
SensorThread * | sensThread |
volatile bool | stopped |
double | xval1 [SIZE] |
double | xval2 [SIZE] |
double | xval3 [SIZE] |
double | xval4 [SIZE] |
double | xval5 [SIZE] |
double | xval6 [SIZE] |
double | xvalHeartbeat [SIZE] |
double | yval1 [SIZE] |
double | yval2 [SIZE] |
double | yval3 [SIZE] |
double | yval4 [SIZE] |
double | yval5 [SIZE] |
double | yval6 [SIZE] |
double | yvalHeartbeat [SIZE] |
Static Private Attributes | |
static const short int | MOTORSENSOR1 = 0 |
static const short int | MOTORSENSOR2 = 1 |
static const short int | MOTORSENSOR3 = 2 |
static const short int | MOTORSENSOR4 = 3 |
static const int | SIZE = 60 |
static const unsigned long | THREADSLEEPTIME = 500 |
static const short int | VOLTAGESENSOR1 = 0 |
static const short int | VOLTAGESENSOR2 = 1 |
Gets values from sensors and plots them in (emits them to) the GUI.
Definition at line 44 of file plotThread.h.
PlotThread::PlotThread | ( | SensorThread * | s | ) |
Definition at line 23 of file plotThread.cpp.
PlotThread::~PlotThread | ( | ) |
Definition at line 54 of file plotThread.cpp.
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
virtual |
void PlotThread::stop | ( | ) |
|
staticprivate |
Definition at line 98 of file plotThread.h.
|
staticprivate |
Definition at line 99 of file plotThread.h.
|
staticprivate |
Definition at line 100 of file plotThread.h.
|
staticprivate |
Definition at line 101 of file plotThread.h.
|
private |
Definition at line 66 of file plotThread.h.
|
staticprivate |
Definition at line 75 of file plotThread.h.
|
private |
Definition at line 67 of file plotThread.h.
|
staticprivate |
Definition at line 71 of file plotThread.h.
|
staticprivate |
Definition at line 103 of file plotThread.h.
|
staticprivate |
Definition at line 104 of file plotThread.h.
|
private |
Definition at line 76 of file plotThread.h.
|
private |
Definition at line 79 of file plotThread.h.
|
private |
Definition at line 82 of file plotThread.h.
|
private |
Definition at line 85 of file plotThread.h.
|
private |
Definition at line 88 of file plotThread.h.
|
private |
Definition at line 91 of file plotThread.h.
|
private |
Definition at line 94 of file plotThread.h.
|
private |
Definition at line 77 of file plotThread.h.
|
private |
Definition at line 80 of file plotThread.h.
|
private |
Definition at line 83 of file plotThread.h.
|
private |
Definition at line 86 of file plotThread.h.
|
private |
Definition at line 89 of file plotThread.h.
|
private |
Definition at line 92 of file plotThread.h.
|
private |
Definition at line 95 of file plotThread.h.