NSEvaluation::AnalyzerItem Class Reference

#include <evaluationpath_items.h>

Inheritance diagram for NSEvaluation::AnalyzerItem:

NSEvaluation::PluginItem NSCore::QTreeItem QObject NSCore::PointerProtection_Skel
Collaboration diagram for NSEvaluation::AnalyzerItem:

Collaboration graph

List of all members.

Public Member Functions

 AnalyzerItem (QString plugin, QTreeItem *p)
 ~AnalyzerItem ()
Analyzeranalyzer ()
void process (NSCore::AcqisitionDataSet &data)
 process data
QString type () const
QString name () const
QString help () const
NSCore::NamedParameterTreeItemPointer config ()
 Give access to the configuration.
QDomNode saveToXML (QDomDocument doc)
 Store the information of this element into a new QDomElement.
bool restoreFromXML (QDomNode node)
 Restore the state of this element from the given QDomNode.
QStringList guiActions () const
 GUI: return the supported actions.

Private Attributes


Constructor & Destructor Documentation

NSEvaluation::AnalyzerItem::AnalyzerItem ( QString  plugin,
QTreeItem *  p 
) [inline]

NSEvaluation::AnalyzerItem::~AnalyzerItem (  )  [inline]

References _analyzer.

Member Function Documentation

Analyzer* NSEvaluation::AnalyzerItem::analyzer (  )  [inline]

References _analyzer.

void NSEvaluation::AnalyzerItem::process ( NSCore::AcqisitionDataSet  )  [inline, virtual]

process data

This function is used to process the data. This implementation does nothing, derived class have to to the real thing.

Reimplemented from NSEvaluation::PluginItem.

References _analyzer, and NSEvaluation::Analyzer::analyze().

QString NSEvaluation::AnalyzerItem::type (  )  const [inline, virtual]

QString NSEvaluation::AnalyzerItem::name (  )  const [inline, virtual]

QString NSEvaluation::AnalyzerItem::help (  )  const [inline, virtual]

Reimplemented from NSEvaluation::PluginItem.

References _analyzer, and NSEvaluation::Plugin::help().

NSCore::NamedParameterTreeItemPointer NSEvaluation::AnalyzerItem::config (  )  [inline, virtual]

Give access to the configuration.

Implements NSEvaluation::PluginItem.

References _analyzer, and NSEvaluation::Plugin::config().

QDomNode NSEvaluation::AnalyzerItem::saveToXML ( QDomDocument  doc  )  [inline, virtual]

Store the information of this element into a new QDomElement.

This function is only to save the state of this element, all the recursive stuff will be done by toXml().

doc The QDomDocument to use for creation of the element

Implements NSCore::QTreeItem.

References _analyzer, and NSEvaluation::Plugin::type().

bool NSEvaluation::AnalyzerItem::restoreFromXML ( QDomNode  node  )  [inline, virtual]

Restore the state of this element from the given QDomNode.

You don't have to do the recursive stuff here, that is handled in fromXml() for you. Only the things done in saveToXML need/can be restored here.

If you succeeded and want the childs to be restored too, return true.

node The QDomNode to restore from

Implements NSCore::QTreeItem.

QStringList NSEvaluation::AnalyzerItem::guiActions (  )  const [inline, virtual]

GUI: return the supported actions.

These actions will get symbols/buttons to get executed.

If you implement this, remember to call the parent guiActions() too:

 SomeTreeItem::guiActions() const {
   return QStringList() << <your actions> << BaseClass::guiActions();

Reimplemented from NSEvaluation::PluginItem.

Member Data Documentation

The documentation for this class was generated from the following file:

Generated on Tue Apr 12 02:10:36 2011 for epos by  doxygen 1.5.5