Class encapsulating the communication with a single PacMan node.
More...
#include <PacNetCom.h>
List of all members.
Public Slots |
void | connectToHost (QString address, int port) |
void | disconnectFromHost () |
void | sendChangedProperty (QByteArray data) |
void | requestNodeSetup () |
void | startSynchronization () |
void | startRecording () |
void | stopRecording () |
void | sendSpectra (bool shortterm) |
void | newAngles (float theta, float phi) |
void | adjustSpectrumParameters (qreal emin, qreal emax, quint32 shorttermsize, quint32 channels) |
void | adjustBufferSize (quint32 newsize) |
Signals |
void | connected () |
| Wird ausgeführt, wenn für die letzte Aufnahme keine Daten mehr vom Node kommen werden.
|
void | disconnected () |
void | error (QString e) |
void | waitingForOffsetSignal () |
void | foundOffsetSignal () |
void | spectrumData (PacEnergySpectrum *s) |
void | waveformTeaser (QByteArray w) |
void | updateStats (qulonglong in, qulonglong drop, qulonglong datawaiting, qulonglong dataproc) |
void | state (int) |
void | nodePropertyReceived (TransmittableProperty *p) |
void | nodePropertyConfirmationReceived (TransmittablePropertyData *d) |
void | recordingFinished () |
Public Member Functions |
| PacNetCom (QObject *parent=0, unsigned int nodeid=0, float theta=0.0, float phi=0.0) |
| ~PacNetCom () |
PacEventChunk * | getNextEventChunk () |
Detailed Description
Class encapsulating the communication with a single PacMan node.
- Author:
- Matthias Nagl <mnagl@uni-goettingen.de>
Constructor & Destructor Documentation
PacNetCom::PacNetCom |
( |
QObject * |
parent = 0 , |
|
|
unsigned int |
nodeid = 0 , |
|
|
float |
theta = 0.0 , |
|
|
float |
phi = 0.0 |
|
) |
| |
PacNetCom::~PacNetCom |
( |
| ) |
|
Member Function Documentation
void PacNetCom::adjustBufferSize |
( |
quint32 |
newsize | ) |
[slot] |
void PacNetCom::adjustSpectrumParameters |
( |
qreal |
emin, |
|
|
qreal |
emax, |
|
|
quint32 |
shorttermsize, |
|
|
quint32 |
channels |
|
) |
| [slot] |
void PacNetCom::connected |
( |
| ) |
[signal] |
Wird ausgeführt, wenn für die letzte Aufnahme keine Daten mehr vom Node kommen werden.
void PacNetCom::connectToHost |
( |
QString |
address, |
|
|
int |
port |
|
) |
| [slot] |
void PacNetCom::disconnected |
( |
| ) |
[signal] |
void PacNetCom::disconnectFromHost |
( |
| ) |
[slot] |
void PacNetCom::error |
( |
QString |
e | ) |
[signal] |
void PacNetCom::foundOffsetSignal |
( |
| ) |
[signal] |
Returns next PacEventChunk from Ringbuffer. Waits if none are available.
void PacNetCom::newAngles |
( |
float |
theta, |
|
|
float |
phi |
|
) |
| [slot] |
void PacNetCom::recordingFinished |
( |
| ) |
[signal] |
void PacNetCom::requestNodeSetup |
( |
| ) |
[slot] |
void PacNetCom::sendChangedProperty |
( |
QByteArray |
data | ) |
[slot] |
void PacNetCom::sendSpectra |
( |
bool |
shortterm | ) |
[slot] |
void PacNetCom::startRecording |
( |
| ) |
[slot] |
void PacNetCom::startSynchronization |
( |
| ) |
[slot] |
void PacNetCom::state |
( |
int |
| ) |
[signal] |
void PacNetCom::stopRecording |
( |
| ) |
[slot] |
void PacNetCom::updateStats |
( |
qulonglong |
in, |
|
|
qulonglong |
drop, |
|
|
qulonglong |
datawaiting, |
|
|
qulonglong |
dataproc |
|
) |
| [signal] |
void PacNetCom::waitingForOffsetSignal |
( |
| ) |
[signal] |
void PacNetCom::waveformTeaser |
( |
QByteArray |
w | ) |
[signal] |
The documentation for this class was generated from the following files: