##// END OF EJS Templates
lfrsgse is a QMainWindow...
lfrsgse is a QMainWindow Reorganize HK information display

File last commit:

r28:66e3fbb189eb default
r39:f8ba3aa4aa6e default
Show More
tmechobridge.h
72 lines | 1.6 KiB | text/x-c | CLexer
First version of the gse-lesia module...
r23 #ifndef TMECHOBRIDGE_H
#define TMECHOBRIDGE_H
#include <QWidget>
#include <QTcpServer>
#include <QTcpSocket>
#include <QLabel>
#include <QSpinBox>
#include <QPushButton>
#include <QGroupBox>
#include <QGridLayout>
#include <QTextEdit>
#include <QXmlStreamWriter>
First version of gse_lesia functional, includung waveform display...
r24 #include <QTime>
First version of the gse-lesia module...
r23 #include "tmpackettoread.h"
class TMEchoBridge : public QWidget
{
Q_OBJECT
public:
explicit TMEchoBridge(QWidget *parent = 0);
signals:
public slots:
void listenOnTMEchoBridgePort();
void testTMEchoBridgePort();
void newConnectionOnTMEchoBridgeServer();
int getTMPort();
void displayOnConsole(QString message);
void initSocketStatesList();
void newConnectionOnTCServer();
void sendXML_GSE_HK();
void sendTMPacket(TMPacketToRead *tmPacketToRead);
void clearConsole();
First version of gse_lesia functional, includung waveform display...
r24 void resetTMStatistics();
First version of the gse-lesia module...
r23
private:
QList<QString> socketStates;
unsigned int totalOfBytes;
First version of gse_lesia functional, includung waveform display...
r24 unsigned int totalOfPackets;
unsigned int totalOfPacketsDropped;
First version of the gse-lesia module...
r23
QTcpServer *tmEchoBridgeServer;
QTcpSocket *tmEchoBridgeSocket;
QXmlStreamWriter *xmlWriter;
QTextEdit *console;
QLabel *label_TMServerPort;
QLabel *label_totalOfBytes;
First version of gse_lesia functional, includung waveform display...
r24 QLabel *label_totalOfPackets;
QLabel *label_totalOfPacketsDropped;
First version of the gse-lesia module...
r23
QSpinBox *spinbox_TMServerPort;
QPushButton *button_openServerTCTM;
QPushButton *button_testServerTCTM;
QPushButton *button_sendTestPacket;
QPushButton *button_clearConsole;
First version of gse_lesia functional, includung waveform display...
r24 QPushButton *button_resetTMStatistics;
First version of the gse-lesia module...
r23
QGroupBox *groupbox_ports;
QGridLayout *layout_ports;
QGridLayout *mainLayout;
};
#endif // TMECHOBRIDGE_H