slugshilsim.h 529 Bytes
Newer Older
1 2 3 4
#ifndef SLUGSHILSIM_H
#define SLUGSHILSIM_H

#include <QWidget>
5 6
#include <QHostAddress>
#include <QUdpSocket>
7 8
#include "LinkInterface.h"

9

10 11 12 13 14 15 16 17 18 19 20 21
namespace Ui {
    class SlugsHilSim;
}

class SlugsHilSim : public QWidget
{
    Q_OBJECT

public:
    explicit SlugsHilSim(QWidget *parent = 0);
    ~SlugsHilSim();

22 23
protected:
    LinkInterface* hilLink;
24 25 26 27
    QHostAddress* simulinkIp;
    QUdpSocket* txSocket;
    QUdpSocket* rxSocket;

28 29 30
public slots:
    void linkAdded();

31

32 33 34 35 36
private:
    Ui::SlugsHilSim *ui;
};

#endif // SLUGSHILSIM_H