NSEvaluation::FilterItem Class Reference

#include <evaluationpath_items.h>

Inheritance diagram for NSEvaluation::FilterItem:

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

Collaboration graph

List of all members.

Public Member Functions

 FilterItem (QString plugin, QTreeItem *p)
 ~FilterItem ()
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.

Private Attributes


Constructor & Destructor Documentation

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

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

References _filter.

Member Function Documentation

void NSEvaluation::FilterItem::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 _config, _filter, NSCore::QTreeItem::childobjects(), NSEvaluation::Filter::filter(), NSCore::NamedParameterTreeItem::getParameter(), and NSEvaluation::PluginItem::process().

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

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

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

Reimplemented from NSEvaluation::PluginItem.

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

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

Give access to the configuration.

Implements NSEvaluation::PluginItem.

References _config.

QDomNode NSEvaluation::FilterItem::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 _filter, and NSEvaluation::Plugin::type().

bool NSEvaluation::FilterItem::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.

Member Data Documentation

Referenced by config(), FilterItem(), and process().

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