12 #include <OpenMS/VISUAL/OpenMS_GUIConfig.h>
48 virtual std::unique_ptr<TOPPASVertex>
clone()
const override;
57 void paint(QPainter* painter,
const QStyleOptionGraphicsItem* option,
QWidget* widget)
override;
72 bool round_based_mode_{
true};
A more convenient string class.
Definition: String.h:34
A special vertex that allows to merge several inputs.
Definition: TOPPASMergerVertex.h:33
bool roundBasedMode() const
Determines whether this merger is merging round based or merging all inputs into one list.
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)
TOPPASMergerVertex & operator=(const TOPPASMergerVertex &rhs)=default
Assignment operator.
TOPPASMergerVertex()=default
Default constructor.
void markUnreachable() override
Marks this node (and everything further downstream) as unreachable. Overridden behavior in mergers.
TOPPASMergerVertex(bool round_based)
Constructor.
~TOPPASMergerVertex() override=default
Destructor.
String getName() const override
returns "MergerVertex"
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
TOPPASMergerVertex(const TOPPASMergerVertex &rhs)=default
Copy constructor.
void mergeFailed(const QString message)
Emitted when merging upstream data failed.
The base class of the different vertex classes.
Definition: TOPPASVertex.h:78
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19