##// END OF EJS Templates
timecode generation added to the rmapplugin:...
timecode generation added to the rmapplugin: RMAPPlugin0.sendOneTimecode() RMAPPlugin0.sendTimecodePeriodically()

File last commit:

r62:8490a8b44e9a default
r62:8490a8b44e9a default
Show More
mainwindow.h
66 lines | 1.6 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>
timecode generation added to the rmapplugin:...
r62 #include <tcpackettosend.h>
Add missing files to the repository
r14
Last comit before installation on pc-coillot
r50 #include "spw_usb_api.h"
#include "spw_config_library.h"
#include "TC_types.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;
timecode generation added to the rmapplugin:...
r62 bool flag_sendSystemTimePacket;
bool flag_sendArbitraryTimePacket;
bool flag_sendTimecodesPeriodicallyStarDundee;
Last comit before installation on pc-coillot
r50
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();
timecode generation added to the rmapplugin:...
r62 unsigned int testBrick();
Add missing files to the repository
r14 void sendOneTimecode();
timecode generation added to the rmapplugin:...
r62 void sendTimecodesPeriodicallyPC();
void sendTimecodesPeriodicallyStarDundee();
Last comit before installation on pc-coillot
r50 void periodicalTimecodeTimeout();
void sendTimePacketTimeout();
void sendSystemTime();
void sendArbitraryTime();
timecode generation added to the rmapplugin:...
r62 void sendSystemTimeAndTimecode();
void sendArbitraryTimeAndTimecode();
Last comit before installation on pc-coillot
r50 void sendUpdateTime(long time);
Add missing files to the repository
r14 void reTestSPWLink();
};
#endif // MAINWINDOW_H