##// END OF EJS Templates
Progress bar added to the plugin
Progress bar added to the plugin

File last commit:

r52:061b27b067a0 default
r57:71cb087f0080 default
Show More
mainwindow.h
112 lines | 3.3 KiB | text/x-c | CLexer
First version of the gse-lesia module...
r23 #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QTcpServer>
#include <QTcpSocket>
#include <QXmlSimpleReader>
QSettings used in the lfrsgse to store the IP address of the echo bridge
r28 #include <QSettings>
lfrsgse is a QMainWindow...
r39 #include <QMainWindow>
rmapplugin updated, waveform plots removed (exported in gse_lesia)...
r25
First version of the gse-lesia module...
r23 #include <lfrxmlhandler.h>
#include <lfrxmlwriter.h>
#include <mainwindowui.h>
#include "tmpackettoread.h"
#include "wfpacket.h"
First version of gse_lesia functional, includung waveform display...
r24 #include "lfrxmlparser.h"
Minor updates to the rmapplugin...
r45 #include <spectrapacket.h>
First version of the gse-lesia module...
r23
lfrsgse is a QMainWindow...
r39 class MainWindow : public QMainWindow
First version of the gse-lesia module...
r23 {
Q_OBJECT
public:
MainWindow(QWidget *parent = 0);
~MainWindow();
void displayNetworkInterfaces();
void initSocketStatesList();
Minor updates to the rmapplugin...
r45 //
First version of the gse-lesia module...
r23 void preProcessPacket(TMPacketToRead *packet);
Minor updates to the rmapplugin...
r45 unsigned char getPID(TMPacketToRead *packet);
unsigned char getCAT(TMPacketToRead *packet);
unsigned char getTYPE(TMPacketToRead *packet);
unsigned char getSUBTYPE(TMPacketToRead *packet);
unsigned int getLENGTH(TMPacketToRead *packet);
unsigned int getCoarseTime(TMPacketToRead *packet);
unsigned int getFineTime(TMPacketToRead *packet);
unsigned int getSID(TMPacketToRead *packet, unsigned char pid, unsigned char cat, unsigned char typ, unsigned char sub);
//
First version of the gse-lesia module...
r23 void buildWFAndDisplay(TMPacketToRead *packet, WFPacket *wfPacket, unsigned char num_page);
dashboard tab added to the rmapplugin...
r46 void buildWFAndDisplay_CWF_F3(TMPacketToRead *packet, WFPacket *wfPacket, unsigned char num_page);
gselesia changed to process CWF_F3 light waveforms...
r52 void buildWFAndDisplay_CWF_F3_light(TMPacketToRead *packet, WFPacket *wfPacket, unsigned char num_page);
Minor upgrade on rmapplugin...
r27 void buildWFAndDisplayBurst(TMPacketToRead *packet, WFPacket *wfPacket);
void buildWFAndDisplaySBM1(TMPacketToRead *packet, WFPacket *wfPacket);
gselesia changed to process CWF_F3 light waveforms...
r52 void buildWFAndDisplaySBM1_alt(TMPacketToRead *packet, WFPacket *wfPacket);
Minor upgrade on rmapplugin...
r27 void buildWFAndDisplaySBM2(TMPacketToRead *packet, WFPacket *wfPacket);
Minor updates to the rmapplugin...
r45 void buildSpectrumAndDisplayNORM_F0(TMPacketToRead *packet, SpectraPacket *spectraPacket);
First version of the gse-lesia module...
r23
QSettings used in the lfrsgse to store the IP address of the echo bridge
r28 protected:
void closeEvent(QCloseEvent *);
First version of the gse-lesia module...
r23 private:
QSettings used in the lfrsgse to store the IP address of the echo bridge
r28 void readSettings();
void writeSettings();
unsigned char echoBridgeIP0;
unsigned char echoBridgeIP1;
unsigned char echoBridgeIP2;
unsigned char echoBridgeIP3;
First version of gse_lesia functional, includung waveform display...
r24 QByteArray dataArray;
First version of the gse-lesia module...
r23 QList<TMPacketToRead*> generalCCSDSPacketStore;
QTcpServer *analyserSGSEServerTC;
QTcpServer *analyserSGSEServerTM;
QTcpSocket *socketTC;
QTcpSocket *socketTM;
QTcpSocket *socketEchoServer;
unsigned int totalOfBytes;
First version of gse_lesia functional, includung waveform display...
r24 unsigned int totalOfPackets;
First version of the gse-lesia module...
r23
QXmlSimpleReader xmlReader;
QXmlInputSource *sourceTC;
LFRXmlHandler *xmlHandler;
First version of gse_lesia functional, includung waveform display...
r24 LFRXmlParser *lfrXmlParser;
First version of the gse-lesia module...
r23
QList<QString> socketStates;
char *buffer;
MainWindowUI *UI;
LFRXmlWriter *lfrXmlWriter;
WFPacket wfPacketNormal[4];
Minor upgrade on rmapplugin...
r27 WFPacket wfPacketBurst;
WFPacket wfPacketSBM1;
WFPacket wfPacketSBM2;
Minor updates to the rmapplugin...
r45 SpectraPacket *spectraPacketNormalSpectrumF0;
First version of the gse-lesia module...
r23
First version of gse_lesia functional, includung waveform display...
r24 bool parsingContinue;
First version of the gse-lesia module...
r23 signals:
void socketTMHasChanged(QTcpSocket *socket);
public slots:
void displayOnConsole(QString message);
void listenOnTCTMPorts();
void testTCTMPorts();
void newConnectionOnTCServer();
void newConnectionOnTMServer();
void readDataOnTCPort();
void readDataOnTMPort();
void readDataOnSocketEchoServer();
void openEchoServer();
void socket_TMEcho_ServerHasChanged();
First version of gse_lesia functional, includung waveform display...
r24 void processIncomingPacket(TMPacketToRead *packet);
void resetStatistics();
Minor upgrade on rmapplugin...
r27 void processPacketStore();
First version of the gse-lesia module...
r23 };
#endif // MAINWINDOW_H