Last change
on this file since 469 was 443, checked in by Sanahuja Guillaume, 3 years ago |
update buffering (gcs part)
|
File size:
1.1 KB
|
Rev | Line | |
---|
[10] | 1 | // %flair:license{
|
---|
[15] | 2 | // This file is part of the Flair framework distributed under the
|
---|
| 3 | // CECILL-C License, Version 1.0.
|
---|
[10] | 4 | // %flair:license}
|
---|
[9] | 5 | #ifndef CONNECTIONLAYOUT_H
|
---|
| 6 | #define CONNECTIONLAYOUT_H
|
---|
| 7 |
|
---|
| 8 | #include "Layout.h"
|
---|
[436] | 9 | #include <QTime>
|
---|
[9] | 10 |
|
---|
| 11 | class UdtSocket;
|
---|
| 12 | class DataRemote;
|
---|
| 13 |
|
---|
[15] | 14 | class ConnectionLayout : public Layout {
|
---|
| 15 | Q_OBJECT
|
---|
[9] | 16 |
|
---|
[15] | 17 | public:
|
---|
[436] | 18 | ConnectionLayout(UdtSocket *socket, QString name, QTime startTime);
|
---|
[15] | 19 | ~ConnectionLayout();
|
---|
| 20 | void XmlToSend(QDomDocument doc);
|
---|
| 21 | void addDataRemote(DataRemote *data);
|
---|
| 22 | void removeDataRemote(DataRemote *data);
|
---|
[269] | 23 | void LoadXml(QDomDocument *to_parse);
|
---|
[234] | 24 | QString getName();
|
---|
| 25 | static QString getDocRootName(char* buf, int size);
|
---|
[436] | 26 | QTime GetStartTime(void);
|
---|
| 27 |
|
---|
[15] | 28 | private:
|
---|
[443] | 29 | void drawDatas(char *buf, int buf_size, uint16_t period,uint16_t nb_buffering,
|
---|
[15] | 30 | bool big_endian = false);
|
---|
[234] | 31 | QString name;
|
---|
[15] | 32 | UdtSocket *socket;
|
---|
| 33 | QList<DataRemote *> dataremotes;
|
---|
[436] | 34 | QTime startTime;
|
---|
[234] | 35 |
|
---|
[15] | 36 | private slots:
|
---|
| 37 | void receive(char *buf, int size);
|
---|
[260] | 38 | void udtSocketDestroyed(QObject *obj);
|
---|
[9] | 39 |
|
---|
[15] | 40 | signals:
|
---|
[399] | 41 | void UDTStats(QString stats,QString stylesheet,bool loosingPackets);
|
---|
[9] | 42 | };
|
---|
| 43 |
|
---|
| 44 | #endif // CONNECTIONLAYOUT_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.