AnalysisPlugins 2.0(r200)
For the analysis of event energy and time
Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes

PacWaveformBase Class Reference

Base class for analysis plugins. More...

#include <PacWaveformBase.h>

Inheritance diagram for PacWaveformBase:

List of all members.

Public Member Functions

 PacWaveformBase (QObject *parent=0, const QString &pluginname="", const QString &pluginversion="")
virtual ~PacWaveformBase ()
virtual void setParentBranch (PropertyBranchInterface *p=0)
virtual QString name () const
virtual QString version () const
virtual void setWaveformData (WaveformDataInterface *data)
virtual WaveformDataInterfacetryDeserialization (const QByteArray &serialized) const
virtual void readUpdatedParameters ()
virtual QWidget * getWidget ()
virtual void setTitleString (const QString &)

Protected Slots

void exportWaveform ()

Protected Member Functions

QWidget * createExportButton ()
virtual bool canDeserialize (const QByteArray &serialized) const

Protected Attributes

const QString pluginname
const QString pluginversion
QString titlestring
TransmittableProperty p_overflowlimit
qint32 overflowlimit
QVector< qreal > xvector
QVector< qreal > voltvector
QwtPlotCurve * waveform
QwtPlotMarker * waveformtrigger
QwtPlotGrid * waveformgrid
QPointer< QwtPlot > myplot
QPointer< QGroupBox > widget
QPointer< QWidget > controlwidget
QVBoxLayout * layout
QPointer< QwtPlotZoomer > wfzoomer
qreal xmin
qreal xmax
qreal ymin
qreal ymax
QPointer< QToolButton > exportbutton
 scale buffer for zoomer reset
const PacWaveformDataBasecurrentwf
bool noupdates

Detailed Description

Base class for analysis plugins.

Author:
Matthias Nagl <mnagl@uni-goettingen.de>

Constructor & Destructor Documentation

PacWaveformBase::PacWaveformBase ( QObject *  parent = 0,
const QString &  pluginname = "",
const QString &  pluginversion = "" 
)
PacWaveformBase::~PacWaveformBase ( ) [virtual]

Member Function Documentation

bool PacWaveformBase::canDeserialize ( const QByteArray &  serialized) const [protected, virtual]
QWidget * PacWaveformBase::createExportButton ( ) [protected]
void PacWaveformBase::exportWaveform ( ) [protected, slot]
QWidget * PacWaveformBase::getWidget ( ) [virtual]
virtual QString PacWaveformBase::name ( ) const [inline, virtual]
void PacWaveformBase::readUpdatedParameters ( ) [virtual]

Implements WaveformProcessingInterface.

Reimplemented in PacWaveformDICF.

void PacWaveformBase::setParentBranch ( PropertyBranchInterface p = 0) [virtual]

Reimplemented from PropertyBranch.

Reimplemented in PacWaveformDICF, and PacWaveformTrivial.

void PacWaveformBase::setTitleString ( const QString &  title) [virtual]
void PacWaveformBase::setWaveformData ( WaveformDataInterface data) [virtual]

Implements WaveformPresentationInterface.

Reimplemented in PacWaveformDICF.

WaveformDataInterface * PacWaveformBase::tryDeserialization ( const QByteArray &  serialized) const [virtual]
virtual QString PacWaveformBase::version ( ) const [inline, virtual]

Member Data Documentation

QPointer<QWidget> PacWaveformBase::controlwidget [protected]
QPointer<QToolButton> PacWaveformBase::exportbutton [protected]

scale buffer for zoomer reset

QVBoxLayout* PacWaveformBase::layout [protected]
QPointer<QwtPlot> PacWaveformBase::myplot [protected]
bool PacWaveformBase::noupdates [protected]
qint32 PacWaveformBase::overflowlimit [protected]
const QString PacWaveformBase::pluginname [protected]
const QString PacWaveformBase::pluginversion [protected]
QString PacWaveformBase::titlestring [protected]
QVector<qreal> PacWaveformBase::voltvector [protected]
QwtPlotCurve* PacWaveformBase::waveform [protected]
QwtPlotGrid* PacWaveformBase::waveformgrid [protected]
QwtPlotMarker* PacWaveformBase::waveformtrigger [protected]
QPointer<QwtPlotZoomer> PacWaveformBase::wfzoomer [protected]
QPointer<QGroupBox> PacWaveformBase::widget [protected]
qreal PacWaveformBase::xmax [protected]
qreal PacWaveformBase::xmin [protected]
QVector<qreal> PacWaveformBase::xvector [protected]
qreal PacWaveformBase::ymax [protected]
qreal PacWaveformBase::ymin [protected]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Friends