Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Public Member Functions | Protected Member Functions | Protected Attributes

BaseVisualizer< ObjectType > Class Template Reference

A base class for all visualizer classes. More...

#include <OpenMS/VISUAL/VISUALIZER/BaseVisualizer.h>

List of all members.

Public Member Functions

void load (ObjectType &o)
 Loads the object that is to be edited.

Protected Member Functions

virtual void update_ ()
 Updates the GUI from the temp_ variable.

Protected Attributes

ObjectType * ptr_
 Pointer to the object that is currently edited.
ObjectType temp_
 Copy of current object used to restore the original values.

Detailed Description

template<typename ObjectType>
class OpenMS::BaseVisualizer< ObjectType >

A base class for all visualizer classes.

This class provides members and functions that depend on the visualizer type.

The GUI components are provided by the BaseVisualizerGUI class. The two classes cannot be merged, as templates and the Qt meta object compiler cannot be combined.

Visualizers are mainly used by the MetaDataBrowser.


Member Function Documentation

void load ( ObjectType &  o  )  [inline]

Loads the object that is to be edited.

Reimplemented in GradientVisualizer, and MetaInfoVisualizer.

virtual void update_ (  )  [inline, protected, virtual]

Member Data Documentation

ObjectType* ptr_ [protected]

Pointer to the object that is currently edited.

ObjectType temp_ [protected]

Copy of current object used to restore the original values.


OpenMS / TOPP release 1.10.0 Documentation generated on Thu Mar 7 2013 09:42:58 using doxygen 1.7.1