NSEvaluation::ModifierItem Class Reference

#include <evaluationpath_items.h>

Inheritance diagram for NSEvaluation::ModifierItem:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

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

NSCore::NamedParameterTreeItem_config
Modifier_modifier


Constructor & Destructor Documentation

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

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

References _modifier.


Member Function Documentation

Modifier* NSEvaluation::ModifierItem::modifier (  )  [inline]

References _modifier.

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

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

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

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

Reimplemented from NSEvaluation::PluginItem.

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

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

Give access to the configuration.

Implements NSEvaluation::PluginItem.

References _config.

QDomNode NSEvaluation::ModifierItem::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().

Parameters:
doc The QDomDocument to use for creation of the element

Implements NSCore::QTreeItem.

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

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

Parameters:
node The QDomNode to restore from

Implements NSCore::QTreeItem.


Member Data Documentation

Referenced by config(), ModifierItem(), 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