Changeset 15 in flair-src for trunk/tools/FlairGCS/src/DataRemote.h


Ignore:
Timestamp:
Apr 8, 2016, 3:40:57 PM (5 years ago)
Author:
Bayard Gildas
Message:

sources reformatted with flair-format-dir script

File:
1 edited

Legend:

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

    r10 r15  
    1313class QAction;
    1414
    15 class DataRemote: public XmlWidget
    16 {
    17     public:
    18         DataRemote(QString name,QString type,XmlWidget* parent,bool enabled,int period);
    19         ~DataRemote();
    20         uint16_t RefreshRate_ms(void);
    21         bool IsEnabled(void);
    22         int ReceiveSize(void);
    23         virtual void BufEvent(char** buf,int *buf_size,uint16_t period,bool big_endian)=0;
    24         void appendmenu(QMenu * menu);
    25         QAction* execmenu(QWidget* parent,QMenu * menu,QPoint point);
     15class DataRemote : public XmlWidget {
     16public:
     17  DataRemote(QString name, QString type, XmlWidget *parent, bool enabled,
     18             int period);
     19  ~DataRemote();
     20  uint16_t RefreshRate_ms(void);
     21  bool IsEnabled(void);
     22  int ReceiveSize(void);
     23  virtual void BufEvent(char **buf, int *buf_size, uint16_t period,
     24                        bool big_endian) = 0;
     25  void appendmenu(QMenu *menu);
     26  QAction *execmenu(QWidget *parent, QMenu *menu, QPoint point);
    2627
    27     protected:
    28         bool auto_refresh;
    29         bool is_logging;
    30         double refresh_rate;//en s
    31         int receivesize;
     28protected:
     29  bool auto_refresh;
     30  bool is_logging;
     31  double refresh_rate; // en s
     32  int receivesize;
    3233
    33         void XmlSetup(QDomElement dom);
     34  void XmlSetup(QDomElement dom);
    3435
    35     private:
    36         void SendPeriod(int period,bool auto_refresh);
    37         QAction *b,*c,*d;
     36private:
     37  void SendPeriod(int period, bool auto_refresh);
     38  QAction *b, *c, *d;
    3839};
    3940
Note: See TracChangeset for help on using the changeset viewer.