You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
424 B

#ifndef UDPDATASENDER_H
#define UDPDATASENDER_H
#include <QUdpSocket>
#include "model/DataSender.h"
class UdpDataSender : public DataSender
{
Q_OBJECT
private:
QUdpSocket* _socket;
public:
UdpDataSender();
~UdpDataSender() override;
void send(const QByteArray& data) override;
//uncrustify off
public slots:
//uncrustify on
void read();
};
#endif //UDPDATASENDER_H