pqCatalystConnectReaction.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-FileCopyrightText: Copyright (c) Sandia Corporation
3 // SPDX-License-Identifier: BSD-3-Clause
4 #ifndef pqCatalystConnectReaction_h
5 #define pqCatalystConnectReaction_h
6 
7 #include "pqReaction.h"
8 #include <QPointer>
9 
11 
19 {
20  Q_OBJECT
21  typedef pqReaction Superclass;
22 
23 public:
24  pqCatalystConnectReaction(QAction* parent = nullptr);
25  ~pqCatalystConnectReaction() override;
26 
30  bool connect();
31 
32 protected:
36  void onTriggered() override { this->connect(); }
37 
42  void updateEnableState() override;
43 
44 private:
45  Q_DISABLE_COPY(pqCatalystConnectReaction)
46 };
47 
48 #endif
Manages the live-coprocessing link.
Reaction for connecting to Catalyst CoProcessing Engine for Live-Data Visualization.
void onTriggered() override
Called when the action is triggered.
virtual void updateEnableState()
Definition: pqReaction.h:48
#define PQAPPLICATIONCOMPONENTS_EXPORT
This is a superclass just to make it easier to collect all such reactions.
Definition: pqReaction.h:25
connect