##// END OF EJS Templates
Last comit before installation on pc-coillot
Last comit before installation on pc-coillot

File last commit:

r50:47b677d190ee default
r50:47b677d190ee default
Show More
mainwindow.h
60 lines | 1.3 KiB | text/x-c | CLexer
Add missing files to the repository
r14 #ifndef MAINWINDOW_H
#define MAINWINDOW_H
Last comit before installation on pc-coillot
r50 #include <mainwindowui.h>
Add missing files to the repository
r14 #include <QtGui/QMainWindow>
#include <QDialog>
#include <QObject>
#include <QTimer>
Last comit before installation on pc-coillot
r50 #include "spw_usb_api.h"
#include "spw_config_library.h"
#include "TC_types.h"
#include "tcpackettosend.h"
#define BWAIT_0 0
#define BWAIT_1 1
#define PATH_ADDRESSING_OFFSET 1
Add missing files to the repository
r14 class MainWindow : public QWidget
{
Q_OBJECT
public:
MainWindow(QWidget *parent = 0);
~MainWindow();
Last comit before installation on pc-coillot
r50 unsigned int WriteSPW(char *Value, unsigned int count, char targetLogicalAddress, char userApplication);
TCPacketToSend *packetToSend;
Add missing files to the repository
r14
private:
unsigned int getLinkStatus(unsigned char link);
Last comit before installation on pc-coillot
r50 USB_SPACEWIRE_ID pIdentifier;
USB_SPACEWIRE_STATUS result; // The result of the send operation
Add missing files to the repository
r14 star_device_handle hDevice; // Handle to the SpaceWire device
bool isRunning;
mainwindowui *UI;
QTimer *time;
Last comit before installation on pc-coillot
r50 long systemTime;
bool flag_sendTimePacket;
Add missing files to the repository
r14 signals:
void sendMessage(QString);
Last comit before installation on pc-coillot
r50 void systemTimeHasChanged(long time);
Add missing files to the repository
r14
public slots:
unsigned int Open();
void sendOneTimecode();
Last comit before installation on pc-coillot
r50 void sendTimecodesPeriodically();
void periodicalTimecodeTimeout();
void sendTimePacketTimeout();
void sendSystemTime();
void sendArbitraryTime();
void sendUpdateTime(long time);
Add missing files to the repository
r14 void reTestSPWLink();
};
#endif // MAINWINDOW_H