36 #ifndef PLUGINOUTPUTDATA_CPP //Because this cpp is part of the header -> template
37 #define PLUGINOUTPUTDATA_CPP
45 #include "pluginoutputdata.h"
50 #include <QSharedPointer>
77 m_pMeasurement = QSharedPointer<T>(
new T);
79 QSharedPointer<XMEASLIB::NewMeasurement> t_measurement = qSharedPointerDynamicCast<XMEASLIB::NewMeasurement>(m_pMeasurement);
81 if(t_measurement.isNull())
82 qFatal(
"Template type is not a measurement and therefor not supported!");
93 emit notify(qSharedPointerDynamicCast<XMEASLIB::NewMeasurement>(m_pMeasurement));
98 #endif //PLUGINOUTPUTDATA_CPP
Contains the declaration of the NewMeasurement class.
The IPlugin class is the base interface class of all plugins.
The PluginConnector class provides the base to connect plug-in data.
PluginOutputConnector with specified Measurement.
PluginOutputData(IPlugin *parent, const QString &name, const QString &descr)