rmappluginpythonwrapper.h
57 lines
| 1.9 KiB
| text/x-c
|
CLexer
/ rmapplugin / rmappluginpythonwrapper.h
r0 | #ifndef RMAPPLUGINPYTHONWRAPPER_H | |||
#define RMAPPLUGINPYTHONWRAPPER_H | ||||
#include <QObject> | ||||
#include <genericPySysdriver.h> | ||||
#include <QList> | ||||
#include <QVariant> | ||||
r11 | #include "rmapoperations.h" | |||
#include "ccsds.h" | ||||
#include <tcpackettosend.h> | ||||
r13 | #include <tmpackettoread.h> | |||
r11 | #include <QTimer> | |||
r0 | ||||
class rmappluginPythonWrapper : public genericPySysdriver | ||||
{ | ||||
Q_OBJECT | ||||
public: | ||||
explicit rmappluginPythonWrapper(QObject *parent = 0); | ||||
r11 | ||||
r13 | QList<TMPacketToRead*> *ccsdsPacketStore; | |||
r11 | void processPacketStore(); | |||
unsigned int storeCCSDSPacket(unsigned char *ccsdsPacket, unsigned int size); | ||||
QList<TCPacketToSend*> TCPacketStore; | ||||
QTimer *timer; | ||||
r0 | ||||
signals: | ||||
r11 | 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); | ||||
r12 | int fetchPacketSig(); | |||
r0 | ||||
public slots: | ||||
r12 | QList<QVariant> ReadSPW(unsigned int size=0); | |||
int fetchPacket() {return emit fetchPacketSig();} | ||||
r11 | 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(); | ||||
r12 | void BlockAllSignals(); | |||
r0 | ||||
}; | ||||
#endif // RMAPPLUGINPYTHONWRAPPER_H | ||||