source: flair-src/trunk/tools/FlairGCS/src/DataPlot1D.h@ 470

Last change on this file since 470 was 444, checked in by Sanahuja Guillaume, 3 years ago

update buffering (gcs part)
seems to work!

File size: 818 bytes
Line 
1// %flair:license{
2// This file is part of the Flair framework distributed under the
3// CECILL-C License, Version 1.0.
4// %flair:license}
5#ifndef DATAPLOT1D_H_INCLUDED
6#define DATAPLOT1D_H_INCLUDED
7
8#include <ScopeFixedStep.h>
9#include "DataRemote.h"
10
11class Layout;
12class QMouseEvent;
13
14class DataPlot1D : public ScopeFixedStep, public DataRemote {
15public:
16 DataPlot1D(Layout *parent, int row, int col, QString title, float ymin,
17 float ymax, bool enabled, uint16_t period, uint16_t nb_buffering=1);
18 ~DataPlot1D();
19
20private:
21 void XmlEvent(QDomElement *dom);
22 bool eventFilter(QObject *, QEvent *);
23 void BufEvent(char **buf, int *buf_size, uint16_t period,uint16_t nb_buffering,bool big_endian);
24 bool mouseEvent(QMouseEvent *event);
25 QList<QString> datas_type;
26};
27
28#endif // DATAPLOT1D_H_INCLUDED
Note: See TracBrowser for help on using the repository browser.