PacMaster's main class containing GUI and control code.  
More...
#include <PacMaster.h>
List of all members.
| 
Public Slots | 
| void | copyNodeSetup (quint8 nodeid) | 
| void | removeNode (quint8 nodeid) | 
| void | showMessageFromOtherInstance (const QString &msg) | 
| 
Signals | 
| void | startSynchronization () | 
| void | startRecording () | 
|  | Versetzt Nodes in synchronisations-modus. 
 | 
| void | stopRecording () | 
|  | Wird emittiert, um Messung zu starten, darf NUR von start_recording()-slot emittiert werden!! 
 | 
| void | sendSyncSignal () | 
|  | Wird emittiert, um Messung zu stoppen, darf NUR von stop_recording()-slot emittiert werden!! 
 | 
| void | updateDAC (quint8, qreal) | 
|  | Sendet ein Signal über den Sync-Pulsgenerator am IOW. 
 | 
| void | highVoltageOn (bool on=true) | 
| void | highVoltageOff () | 
|  | Activates the HV power supplies. 
 | 
| void | energySpectrumParameters (qreal emin, qreal emax, quint32 shorttermsize, quint32 channels) | 
| void | networkBufferSize (quint32 size) | 
| void | updateWaveformPreviews () | 
| void | updateEnergySpectra () | 
| void | enableWaveformRefresh (bool) | 
| void | enableEnergyRefresh (bool) | 
| void | showShorttermSpectrum (bool) | 
| void | nodeConnected () | 
| void | nodeDisconnected () | 
| void | addedNode () | 
| void | removedNode () | 
| void | warmupTimeChanged (int wutime) | 
| void | hostWaitingForSyncSignal () | 
| void | hostFoundOffsetSignal () | 
| void | recordingFailed () | 
| void | quitStateMachine () | 
| 
Public Member Functions | 
|  | PacMaster (QWidget *parent=0) | 
|  | ~PacMaster () | 
| void | addNodeStatWidgets (QLabel *statInLabel, QLineEdit *statInField, QLabel *statDropLabel, QLineEdit *statDropField, QLabel *statDataWaitingLabel, QLineEdit *statDataWaitingField, QLabel *statDataProcessedLabel, QLineEdit *statDataProcessedField) | 
| void | removeNodeStatWidgets (const unsigned int nodeid) | 
| QMap< QString, QString > | setupTreeSnapshot () const | 
| 
Static Public Member Functions | 
| static const QList< quint8 > | nodeIds () | 
| static const QString | nodeIdToName (const unsigned int id) | 
| static float | nodeIdToTheta (const unsigned int id) | 
| static float | nodeIdToPhi (const unsigned int id) | 
| 
Static Public Attributes | 
| static PacEventSorter * | sorter = 0 | 
| static PacCorrelator * | correlator = 0 | 
| static PacEventSaver * | eventsaver = 0 | 
Detailed Description
PacMaster's main class containing GUI and control code. 
- Author:
- Matthias Nagl <mnagl@uni-goettingen.de>
PacMaster is controlled by a state machine that works according to the following diagram 
 
Constructor & Destructor Documentation
      
        
          | PacMaster::PacMaster | ( | QWidget * | parent = 0 | ) |  | 
      
 
 
      
        
          | PacMaster::~PacMaster | ( |  | ) |  | 
      
 
 
Member Function Documentation
      
        
          | void PacMaster::addedNode | ( |  | ) |  [signal] | 
      
 
 
      
        
          | void PacMaster::addNodeStatWidgets | ( | QLabel * | statInLabel, | 
        
          |  |  | QLineEdit * | statInField, | 
        
          |  |  | QLabel * | statDropLabel, | 
        
          |  |  | QLineEdit * | statDropField, | 
        
          |  |  | QLabel * | statDataWaitingLabel, | 
        
          |  |  | QLineEdit * | statDataWaitingField, | 
        
          |  |  | QLabel * | statDataProcessedLabel, | 
        
          |  |  | QLineEdit * | statDataProcessedField | 
        
          |  | ) |  |  | 
      
 
 
      
        
          | void PacMaster::copyNodeSetup | ( | quint8 | nodeid | ) |  [slot] | 
      
 
 
      
        
          | void PacMaster::enableEnergyRefresh | ( | bool |  | ) |  [signal] | 
      
 
 
      
        
          | void PacMaster::enableWaveformRefresh | ( | bool |  | ) |  [signal] | 
      
 
 
      
        
          | void PacMaster::energySpectrumParameters | ( | qreal | emin, | 
        
          |  |  | qreal | emax, | 
        
          |  |  | quint32 | shorttermsize, | 
        
          |  |  | quint32 | channels | 
        
          |  | ) |  |  [signal] | 
      
 
 
      
        
          | void PacMaster::highVoltageOff | ( |  | ) |  [signal] | 
      
 
Activates the HV power supplies. 
 
 
      
        
          | void PacMaster::highVoltageOn | ( | bool | on = true | ) |  [signal] | 
      
 
 
      
        
          | void PacMaster::hostFoundOffsetSignal | ( |  | ) |  [signal] | 
      
 
 
      
        
          | void PacMaster::hostWaitingForSyncSignal | ( |  | ) |  [signal] | 
      
 
 
      
        
          | void PacMaster::networkBufferSize | ( | quint32 | size | ) |  [signal] | 
      
 
 
      
        
          | void PacMaster::nodeConnected | ( |  | ) |  [signal] | 
      
 
 
      
        
          | void PacMaster::nodeDisconnected | ( |  | ) |  [signal] | 
      
 
 
      
        
          | const QList< quint8 > PacMaster::nodeIds | ( |  | ) |  [static] | 
      
 
 
      
        
          | const QString PacMaster::nodeIdToName | ( | const unsigned int | id | ) |  [static] | 
      
 
 
      
        
          | float PacMaster::nodeIdToPhi | ( | const unsigned int | id | ) |  [static] | 
      
 
 
      
        
          | float PacMaster::nodeIdToTheta | ( | const unsigned int | id | ) |  [static] | 
      
 
 
      
        
          | void PacMaster::quitStateMachine | ( |  | ) |  [signal] | 
      
 
 
      
        
          | void PacMaster::recordingFailed | ( |  | ) |  [signal] | 
      
 
 
      
        
          | void PacMaster::removedNode | ( |  | ) |  [signal] | 
      
 
 
      
        
          | void PacMaster::removeNode | ( | quint8 | nodeid | ) |  [slot] | 
      
 
 
      
        
          | void PacMaster::removeNodeStatWidgets | ( | const unsigned int | nodeid | ) |  | 
      
 
 
      
        
          | void PacMaster::sendSyncSignal | ( |  | ) |  [signal] | 
      
 
Wird emittiert, um Messung zu stoppen, darf NUR von stop_recording()-slot emittiert werden!! 
 
 
      
        
          | QMap< QString, QString > PacMaster::setupTreeSnapshot | ( |  | ) | const | 
      
 
 
      
        
          | void PacMaster::showMessageFromOtherInstance | ( | const QString & | msg | ) |  [slot] | 
      
 
 
      
        
          | void PacMaster::showShorttermSpectrum | ( | bool |  | ) |  [signal] | 
      
 
 
      
        
          | void PacMaster::startRecording | ( |  | ) |  [signal] | 
      
 
Versetzt Nodes in synchronisations-modus. 
 
 
      
        
          | void PacMaster::startSynchronization | ( |  | ) |  [signal] | 
      
 
 
      
        
          | void PacMaster::stopRecording | ( |  | ) |  [signal] | 
      
 
Wird emittiert, um Messung zu starten, darf NUR von start_recording()-slot emittiert werden!! 
 
 
      
        
          | void PacMaster::updateDAC | ( | quint8 | , | 
        
          |  |  | qreal |  | 
        
          |  | ) |  |  [signal] | 
      
 
Sendet ein Signal über den Sync-Pulsgenerator am IOW. 
 
 
      
        
          | void PacMaster::updateEnergySpectra | ( |  | ) |  [signal] | 
      
 
 
      
        
          | void PacMaster::updateWaveformPreviews | ( |  | ) |  [signal] | 
      
 
 
      
        
          | void PacMaster::warmupTimeChanged | ( | int | wutime | ) |  [signal] | 
      
 
 
Member Data Documentation
The documentation for this class was generated from the following files: