Changeset 234 in flair-src for trunk/tools/FlairGCS/src/ConnectionLayout.h
- Timestamp:
- Apr 10, 2018, 5:05:27 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/FlairGCS/src/ConnectionLayout.h
r30 r234 6 6 #define CONNECTIONLAYOUT_H 7 7 8 #include <QTimer>9 8 #include "Layout.h" 10 9 … … 22 21 void removeDataRemote(DataRemote *data); 23 22 void LoadXml(QDomDocument to_parse); 24 QString getRemoteName(); 23 QString getName(); 24 QString getUDTStats(); 25 static QString getDocRootName(char* buf, int size); 25 26 26 27 private: 27 static int uncompressBuffer(char *in, ssize_t in_size, char **out,28 ssize_t *out_size);29 void handleUncompressedFrame(char *buf, ssize_t size);30 28 void drawDatas(char *buf, int buf_size, uint16_t period, 31 29 bool big_endian = false); 32 bool isRemoteNameDefined; 33 QString remoteName; 30 QString name; 34 31 UdtSocket *socket; 35 32 QList<DataRemote *> dataremotes; 36 unsigned int total_received; 37 QTimer *receive_timer; 38 33 39 34 private slots: 40 35 void receive(char *buf, int size); 41 void computeRxRate(void);42 36 43 37 signals: 44 void setRemoteName(QString name); 45 void computedRxRate(float rxRate); 38 void UDTStats(QString stats); 46 39 }; 47 40
Note:
See TracChangeset
for help on using the changeset viewer.