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