OpenMS
TVControllerBase.h
Go to the documentation of this file.
1 // Copyright (c) 2002-present, OpenMS Inc. -- EKU Tuebingen, ETH Zurich, and FU Berlin
2 // SPDX-License-Identifier: BSD-3-Clause
3 //
4 // --------------------------------------------------------------------------
5 // $Maintainer: Timo Sachsenberg$
6 // $Authors: Timo Sachsenberg $
7 // --------------------------------------------------------------------------
8 
9 #pragma once
10 
13 
14 namespace OpenMS
15 {
16  class TOPPViewBase;
17 
22  : public QObject
23  {
24  Q_OBJECT
25 
26 public:
28 
33 
38 
46  TVControllerBase() = delete;
47 
48  ~TVControllerBase() override = default;
49 public slots:
51  virtual void activateBehavior();
52 
54  virtual void deactivateBehavior();
55 protected:
58 
60  };
61 }
A container for consensus elements.
Definition: ConsensusMap.h:66
A container for features.
Definition: FeatureMap.h:80
In-Memory representation of a mass spectrometry run.
Definition: MSExperiment.h:46
The representation of a 1D spectrum.
Definition: MSSpectrum.h:44
Main window of TOPPView tool.
Definition: TOPPViewBase.h:103
Base behavior for different visualizaton modules in TOPPView.
Definition: TVControllerBase.h:23
LayerDataBase::ConsensusMapSharedPtrType ConsensusMapSharedPtrType
Consensus map managed type.
Definition: TVControllerBase.h:37
LayerDataBase::FeatureMapSharedPtrType FeatureMapSharedPtrType
Feature map managed type.
Definition: TVControllerBase.h:32
ExperimentType::SpectrumType SpectrumType
Peak spectrum type.
Definition: TVControllerBase.h:44
virtual void activateBehavior()
Slot for behavior activation. The default behaviour does nothing. Override in child class if desired.
TOPPViewBase * tv_
Definition: TVControllerBase.h:59
LayerDataBase::FeatureMapType FeatureMapType
Feature map type.
Definition: TVControllerBase.h:30
virtual void deactivateBehavior()
Slot for behavior deactivation. The default behaviour does nothing. Override in child class if desire...
LayerDataBase::ConsensusMapType ConsensusMapType
Consensus feature map type.
Definition: TVControllerBase.h:35
LayerDataBase::ExperimentSharedPtrType ExperimentSharedPtrType
Main managed data type (experiment)
Definition: TVControllerBase.h:42
~TVControllerBase() override=default
TVControllerBase(TOPPViewBase *parent)
Construct the behaviour.
LayerDataBase::ExperimentType ExperimentType
Peak map type.
Definition: TVControllerBase.h:40
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
boost::shared_ptr< ExperimentType > ExperimentSharedPtrType
SharedPtr on MSExperiment.
Definition: LayerDataBase.h:126
boost::shared_ptr< FeatureMap > FeatureMapSharedPtrType
SharedPtr on feature map.
Definition: LayerDataBase.h:114
boost::shared_ptr< ConsensusMap > ConsensusMapSharedPtrType
SharedPtr on consensus features.
Definition: LayerDataBase.h:120