Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
BaseVisualizer< ObjectType > Class Template Reference

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

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

Public Member Functions

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

Protected Member Functions

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

Protected Attributes

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

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.

Constructor & Destructor Documentation

◆ ~BaseVisualizer()

virtual ~BaseVisualizer ( )
inlinevirtual

Member Function Documentation

◆ load()

void load ( ObjectType &  o)
inline

Loads the object that is to be edited.

◆ update_()

virtual void update_ ( )
inlineprotectedvirtual

Member Data Documentation

◆ ptr_

ObjectType* ptr_
protected

Pointer to the object that is currently edited.

◆ temp_

ObjectType temp_
protected

Copy of current object used to restore the original values.


OpenMS / TOPP release 2.3.0 Documentation generated on Tue Jan 9 2018 18:22:07 using doxygen 1.8.13