##// END OF EJS Templates
QSettings used in the lfrsgse to store the IP address of the echo bridge
QSettings used in the lfrsgse to store the IP address of the echo bridge

File last commit:

r19:7f565009af54 default
r28:66e3fbb189eb default
Show More
rmappluginpythonwrapper.h
58 lines | 1.9 KiB | text/x-c | CLexer
/ rmapplugin / rmappluginpythonwrapper.h
#ifndef RMAPPLUGINPYTHONWRAPPER_H
#define RMAPPLUGINPYTHONWRAPPER_H
#include <QObject>
#include <genericPySysdriver.h>
#include <QList>
#include <QVariant>
#include "rmapoperations.h"
#include "ccsds.h"
#include <tcpackettosend.h>
#include <tmpackettoread.h>
#include <QTimer>
class rmappluginPythonWrapper : public genericPySysdriver
{
Q_OBJECT
public:
explicit rmappluginPythonWrapper(QObject *parent = 0);
QList<TMPacketToRead*> *ccsdsPacketStore;
void processPacketStore();
unsigned int storeCCSDSPacket(unsigned char *ccsdsPacket, unsigned int size);
QList<TCPacketToSend*> TCPacketStore;
QTimer *timer;
signals:
void ccsdsPacketIsAvailable(unsigned int size);
void wakeUpCallingThread();
unsigned int WriteSPWSig(char *Value, unsigned int count, char targetLogicalAddress, char userApplication);
void updateTargetAddress(unsigned char newAddress);
void updateSourceAddress(unsigned char newAddress);
void activateTCLoopSig();
void processPacketStoreNowSig();
void sendMessage(QString message);
int fetchPacketSig();
void nbPacketHasChanged(int nb);
public slots:
QList<QVariant> ReadSPW(unsigned int size=0);
int fetchPacket() {return emit fetchPacketSig();}
void WriteSPW(QList<int> dataList);
void WriteSPWDelay(QList<int> dataList, unsigned int delay=0);
void processPacketStoreLater(unsigned int delay);
void sendProcessPacketStoreNowSig(){emit processPacketStoreNowSig();}
void sendTCLoop();
void sendTC();
void reEmitWriteSPWSig(char *Value, unsigned int count, char targetLogicalAddress, char userApplication)
{emit WriteSPWSig(Value, count, targetLogicalAddress, userApplication);}
void setTargetAddressValue(unsigned int address);
void setSourceAddressValue(unsigned int address);
void ProcessPendingEvents();
void BlockAllSignals();
};
#endif // RMAPPLUGINPYTHONWRAPPER_H