OpenMS
Loading...
Searching...
No Matches
TOPPASSplitterVertex.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: Hendrik Weisser $
6// $Authors: Johannes Junker, Chris Bielow, Hendrik Weisser $
7// --------------------------------------------------------------------------
8
9#pragma once
10
11// OpenMS_GUI config
12#include <OpenMS/VISUAL/OpenMS_GUIConfig.h>
13
15
16namespace OpenMS
17{
27 class OPENMS_GUI_DLLAPI TOPPASSplitterVertex :
28 public TOPPASVertex
29 {
30 Q_OBJECT
31
32public:
33
39 ~TOPPASSplitterVertex() override = default;
42 virtual std::unique_ptr<TOPPASVertex> clone() const override;
44 String getName() const override;
46 void run() override;
47 // documented in base class
48 void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) override;
49 // documented in base class
50 QRectF boundingRect() const override;
51 // documented in base class
52 void markUnreachable() override;
53
54protected:
55
57
58 void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* e) override;
60
61 };
62}
63
A more convenient string class.
Definition String.h:34
A special vertex that allows to split a list of inputs.
Definition TOPPASSplitterVertex.h:29
virtual std::unique_ptr< TOPPASVertex > clone() const override
Make a copy of this vertex on the heap and return a pointer to it (useful for copying nodes)
void markUnreachable() override
Marks this node (and everything further downstream) as unreachable. Overridden behavior in mergers.
String getName() const override
returns "SplitterVertex"
void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *e) override
~TOPPASSplitterVertex() override=default
Destructor.
QRectF boundingRect() const override
Returns the bounding rectangle of this item.
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override
void run() override
check if upstream nodes are finished and call downstream nodes
TOPPASSplitterVertex & operator=(const TOPPASSplitterVertex &rhs)
Assignment operator.
TOPPASSplitterVertex()=default
Default constructor.
TOPPASSplitterVertex(const TOPPASSplitterVertex &rhs)
Copy constructor.
The base class of the different vertex classes.
Definition TOPPASVertex.h:78
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19