Changeset 30 in flair-src for trunk/tools/FlairGCS/src/ConnectionLayout.h


Ignore:
Timestamp:
Jun 21, 2016, 3:48:18 PM (5 years ago)
Author:
Sanahuja Guillaume
Message:

show rx rate in GCS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/FlairGCS/src/ConnectionLayout.h

    r15 r30  
    66#define CONNECTIONLAYOUT_H
    77
     8#include <QTimer>
    89#include "Layout.h"
    910
     
    3334  UdtSocket *socket;
    3435  QList<DataRemote *> dataremotes;
     36  unsigned int total_received;
     37  QTimer *receive_timer;
    3538
    3639private slots:
    3740  void receive(char *buf, int size);
     41  void computeRxRate(void);
    3842
    3943signals:
    4044  void setRemoteName(QString name);
     45  void computedRxRate(float rxRate);
    4146};
    4247
Note: See TracChangeset for help on using the changeset viewer.