|  | PacMaster 2.0(r200) Controls digital PAC measurements and collects the results | 
Class encapsulating the information and communication interface for a single PacMan node. More...
#include <PacNode.h>
| Public Slots | |
| void | connectToNode () | 
| void | hostConnected () | 
| void | hostDisconnected () | 
| Empfängt Status von NetCom. | |
| void | hostError (QString e) | 
| Empfängt Status von NetCom. | |
| void | start_recording () | 
| void | stop_recording () | 
| void | updateStats (qulonglong in, qulonglong drop, qulonglong datawaiting, qulonglong dataproc) | 
| void | setAndSavePmtVoltage (double pmtv) | 
| void | setFullscaleVolts (qreal fullscale) | 
| void | updateConnectionState (int) | 
| receives signals from NetCom and updates the status label | |
| void | nodePropertyReceived (TransmittableProperty *p) | 
| void | nodePropertyConfirmationReceived (TransmittablePropertyData *d) | 
| void | newWaveformTeaser (QByteArray wfteaser) | 
| void | recording_finished () | 
| void | updateWaveformPreview () | 
| void | updateEnergySpectrum () | 
| void | receiveEnergySpectrum (PacEnergySpectrum *s) | 
| void | enableWaveformRefresh (bool enabled) | 
| void | enableEnergyRefresh (bool enabled) | 
| void | showShorttermSpectrum (bool shortterm) | 
| Signals | |
| void | connected (bool b) | 
| void | disconnected (bool b) | 
| void | connectHost (QString address, int port) | 
| void | disconnectHost () | 
| Sendet Befehl an NetCom. | |
| void | updateNodeSetup () | 
| Sendet Befehl an NetCom. | |
| void | anglesChanged (float theta, float phi) | 
| Fordert aktuelles Setup vom Node an. | |
| void | startRecording () | 
| Sendet neue Winkelwerte. | |
| void | stopRecording () | 
| Wird emittiert, um Messung zu starten, darf NUR von start_recording()-slot emittiert werden!! | |
| void | waitingForOffsetSignal (unsigned int nodeid) | 
| Wird emittiert, um Messung zu stoppen, darf NUR von stop_recording()-slot emittiert werden!! | |
| void | foundOffsetSignal (unsigned int nodeid) | 
| Wird emittiert, wenn Node auf Signal wartet. | |
| void | updateDAC (quint8 channel, qreal voltage) | 
| Wird emittiert, wenn Node das Signal empfangen hat. | |
| void | propertyChanged (QtProperty *property) | 
| void | propertyAffirmed (QtProperty *property) | 
| void | updatedNodeProperty (QByteArray newsetting) | 
| void | recordingFinished () | 
| void | nodeNameChanged () | 
| void | requestSpectrum (bool shortterm) | 
| void | removeNode (quint8) | 
| void | copyNodeSetup (quint8) | 
| Public Member Functions | |
| PacNode (unsigned int nodeid, QObject *parent=0) | |
| ~PacNode () | |
| void | deleteSetup () | 
| unsigned int | nodeId () const | 
| Deletes setup-params. | |
| QString | nodeName () const | 
| float | getTheta () const | 
| float | getPhi () const | 
| bool | isConnected () const | 
| qreal | pmtVoltage () const | 
| returns connection state and emits statusChanged. | |
| qreal | fullscaleVolts () const | 
| quint8 | dacChannel () const | 
| QtProperty * | toplevelProperty () const | 
| returns this node's toplevel QtProperty | |
| QWidget * | connectionControlWidget () const | 
| returns a groupbox with control widgets | |
| bool | nodeIsWorking () const | 
| QByteArray | waveformTeaser () const | 
| QMap< QString, QVariant > | nodeSetup2Map () const | 
| void | map2NodeSetup (const QMap< QString, QVariant > &setup) | 
| QWidget * | waveformPreviewWidget () | 
| QWidget * | energySpectrumWidget () const | 
Class encapsulating the information and communication interface for a single PacMan node.
| PacNode::PacNode | ( | unsigned int | nodeid, | 
| QObject * | parent = 0 | ||
| ) | 
| PacNode::~PacNode | ( | ) | 
| void PacNode::anglesChanged | ( | float | theta, | 
| float | phi | ||
| ) |  [signal] | 
Fordert aktuelles Setup vom Node an.
| void PacNode::connected | ( | bool | b | ) |  [signal] | 
| void PacNode::connectHost | ( | QString | address, | 
| int | port | ||
| ) |  [signal] | 
| QWidget* PacNode::connectionControlWidget | ( | ) | const  [inline] | 
returns a groupbox with control widgets
| void PacNode::connectToNode | ( | ) |  [slot] | 
| void PacNode::copyNodeSetup | ( | quint8 | ) |  [signal] | 
| quint8 PacNode::dacChannel | ( | ) | const  [inline] | 
| void PacNode::deleteSetup | ( | ) | 
| void PacNode::disconnected | ( | bool | b | ) |  [signal] | 
| void PacNode::disconnectHost | ( | ) |  [signal] | 
Sendet Befehl an NetCom.
| void PacNode::enableEnergyRefresh | ( | bool | enabled | ) |  [slot] | 
| void PacNode::enableWaveformRefresh | ( | bool | enabled | ) |  [slot] | 
| QWidget * PacNode::energySpectrumWidget | ( | ) | const | 
| void PacNode::foundOffsetSignal | ( | unsigned int | nodeid | ) |  [signal] | 
Wird emittiert, wenn Node auf Signal wartet.
| qreal PacNode::fullscaleVolts | ( | ) | const | 
| float PacNode::getPhi | ( | ) | const  [inline] | 
| float PacNode::getTheta | ( | ) | const  [inline] | 
| void PacNode::hostConnected | ( | ) |  [slot] | 
| void PacNode::hostDisconnected | ( | ) |  [slot] | 
Empfängt Status von NetCom.
| void PacNode::hostError | ( | QString | e | ) |  [slot] | 
Empfängt Status von NetCom.
| bool PacNode::isConnected | ( | ) | const  [inline] | 
| void PacNode::map2NodeSetup | ( | const QMap< QString, QVariant > & | setup | ) | 
| void PacNode::newWaveformTeaser | ( | QByteArray | wfteaser | ) |  [slot] | 
| unsigned int PacNode::nodeId | ( | ) | const  [inline] | 
Deletes setup-params.
| bool PacNode::nodeIsWorking | ( | ) | const  [inline] | 
| QString PacNode::nodeName | ( | ) | const  [inline] | 
| void PacNode::nodeNameChanged | ( | ) |  [signal] | 
| void PacNode::nodePropertyConfirmationReceived | ( | TransmittablePropertyData * | d | ) |  [slot] | 
| void PacNode::nodePropertyReceived | ( | TransmittableProperty * | p | ) |  [slot] | 
| QMap< QString, QVariant > PacNode::nodeSetup2Map | ( | ) | const | 
| qreal PacNode::pmtVoltage | ( | ) | const  [inline] | 
returns connection state and emits statusChanged.
| void PacNode::propertyAffirmed | ( | QtProperty * | property | ) |  [signal] | 
| void PacNode::propertyChanged | ( | QtProperty * | property | ) |  [signal] | 
| void PacNode::receiveEnergySpectrum | ( | PacEnergySpectrum * | s | ) |  [slot] | 
| void PacNode::recording_finished | ( | ) |  [slot] | 
| void PacNode::recordingFinished | ( | ) |  [signal] | 
| void PacNode::removeNode | ( | quint8 | ) |  [signal] | 
| void PacNode::requestSpectrum | ( | bool | shortterm | ) |  [signal] | 
| void PacNode::setAndSavePmtVoltage | ( | double | pmtv | ) |  [slot] | 
| void PacNode::setFullscaleVolts | ( | qreal | fullscale | ) |  [slot] | 
| void PacNode::showShorttermSpectrum | ( | bool | shortterm | ) |  [slot] | 
| void PacNode::start_recording | ( | ) |  [slot] | 
| void PacNode::startRecording | ( | ) |  [signal] | 
Sendet neue Winkelwerte.
| void PacNode::stop_recording | ( | ) |  [slot] | 
| void PacNode::stopRecording | ( | ) |  [signal] | 
Wird emittiert, um Messung zu starten, darf NUR von start_recording()-slot emittiert werden!!
| QtProperty* PacNode::toplevelProperty | ( | ) | const  [inline] | 
returns this node's toplevel QtProperty
| void PacNode::updateConnectionState | ( | int | state | ) |  [slot] | 
receives signals from NetCom and updates the status label
| void PacNode::updateDAC | ( | quint8 | channel, | 
| qreal | voltage | ||
| ) |  [signal] | 
Wird emittiert, wenn Node das Signal empfangen hat.
| void PacNode::updatedNodeProperty | ( | QByteArray | newsetting | ) |  [signal] | 
| void PacNode::updateEnergySpectrum | ( | ) |  [slot] | 
| void PacNode::updateNodeSetup | ( | ) |  [signal] | 
Sendet Befehl an NetCom.
| void PacNode::updateStats | ( | qulonglong | in, | 
| qulonglong | drop, | ||
| qulonglong | datawaiting, | ||
| qulonglong | dataproc | ||
| ) |  [slot] | 
| void PacNode::updateWaveformPreview | ( | ) |  [slot] | 
| void PacNode::waitingForOffsetSignal | ( | unsigned int | nodeid | ) |  [signal] | 
Wird emittiert, um Messung zu stoppen, darf NUR von stop_recording()-slot emittiert werden!!
| QWidget * PacNode::waveformPreviewWidget | ( | ) | 
| QByteArray PacNode::waveformTeaser | ( | ) | const  [inline] | 
 1.7.3
 1.7.3