##// END OF EJS Templates
SpwPlugin:...
SpwPlugin: Another try to fix thread terminaison.

File last commit:

r65:67168ff4b6e7 default
r91:857534592b43 default
Show More
stardundeegui.h
94 lines | 3.7 KiB | text/x-c | CLexer
Jeandet Alexis
Started GR-ESB driver.
r22 /*------------------------------------------------------------------------------
-- This file is a part of the SocExplorer Software
-- Copyright (C) 2014, Plasma Physics Laboratory - CNRS
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-------------------------------------------------------------------------------*/
/*-- Author : Alexis Jeandet
-- Mail : alexis.jeandet@member.fsf.org
----------------------------------------------------------------------------*/
#ifndef STARDUNDEEGUI_H
#define STARDUNDEEGUI_H
#include <QWidget>
SpwPlugin:...
r65 #include "fakestardundeespwusbgui.h"
Jeandet Alexis
Started GR-ESB driver.
r22 namespace Ui {
class StarDundeeUI;
}
class StarDundeeGUI : public QWidget
{
Q_OBJECT
public:
explicit StarDundeeGUI(QWidget *parent = 0);
int getBrickSelection();
int getLinkNumberSelection();
QString getLinkSpeedSelection();
paul
timecodes added to the spw plugin
r38 QString getSourceAddress();
QString getDestinationAddress();
Jeandet Alexis
Started GR-ESB driver.
r22 QString getDestinationKey();
QString getRmapTimeout();
paul
timecodes added to the spw plugin
r38 QString getTimecodeFrequency();
bool getStartSendingTimecodes();
paul
Functions added to the Python API:...
r35 bool isBrickSetAsAnInterface();
Jeandet Alexis
Started GR-ESB driver.
r22 signals:
void brickSelectionChanged(int brickIndex);
void linkNumberSelectionChanged(int linkIndex);
void linkSpeedSelectionChanged(const QString & linkSpeed);
void destinationKeyChanged(const QString & destKey);
paul
Minor bugs corrected.
r47 void sourceLogicalAddressChanged( QString );
Jeandet Alexis
Started GR-ESB driver.
r22 void rmapAddressChanged(const QString & address);
void rmapKeyChanged(const QString & key);
void rmapTimeoutChanged(const QString & timeout);
paul
timecodes added to the spw plugin
r38 void timecodeFrequencyChange(const QString & timeout);
Jeandet Alexis
Started GR-ESB driver.
r22 void connectClicked();
paul
Functions added to the Python API:...
r35 void brickModeChanged(bool);
paul
timecodes added to the spw plugin
r38 void startSendingTimecode(bool);
Jeandet Alexis
Started GR-ESB driver.
r22 public slots:
SpwPlugin:...
r65 void showDriverStatus();
Jeandet Alexis
Started GR-ESB driver.
r22 void lock(bool lock);
void updateAvailableBrickCount(int count);
void selectBrick(int brickIndex);
void selectLinkNumber(int linkIndex);
void selectLinkSpeed(int linkSpeed);
void setDestinationKey(const QString & destKey);
paul
timecodes added to the spw plugin
r38 void setSourceAddress(const QString & address);
void setDestinationAddress(const QString & address);
paul
Minor bugs corrected.
r47 void setTimecodeFrequency(double frequency);
paul
timecodes added to the spw plugin
r38 void setStartSendingTimecodes( bool onOff );
Jeandet Alexis
Started GR-ESB driver.
r22 void setRmapTimeout(const QString & timeout);
paul
Functions added to the Python API:...
r35 int getAvailableBrickCount( void );
void setBrickAsAnInterface(bool interfaceMode);
void setBrickAsARouter( bool interfaceMode );
void resetBytesPacketsStatistics( void );
void resetStatistics( void );
void updateNbReceivedBytesFromSpw( unsigned int nbBytes);
void updateNbTransmittedBytesToSpw( unsigned int nbBytes);
paul
Functions added to the plugin to get the number of CCSDS packets...
r40 void updateCCSDSPacketTransmittedToSpw( void );
unsigned int getNbPacketsTransmittedToSpw( void );
unsigned int getNbCCSDSPacketsTransmittedToSpw( void );
Jeandet Alexis
Started GR-ESB driver.
r22 private:
Ui::StarDundeeUI *ui;
paul
Functions added to the Python API:...
r35 unsigned int nbBytesReceivedFromSpw;
unsigned int nbBytesTransmittedToSpw;
unsigned int nbPacketsReceivedFromSpw;
unsigned int nbPacketsTransmittedToSpw;
paul
Functions added to the plugin to get the number of CCSDS packets...
r40 unsigned int nbCCSDSPacketsTransmittedToSpw;
SpwPlugin:...
r65 FakeStardundeeSpwUsbGui driverStatus;
Jeandet Alexis
Started GR-ESB driver.
r22 };
#endif // STARDUNDEEGUI_H