pqLiveSourceBehavior.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 pqLiveSourceBehavior_h
5 #define pqLiveSourceBehavior_h
6 
8 #include <QObject>
9 #include <QScopedPointer>
10 
11 #include "vtkParaViewDeprecation.h" // for deprecation macro
12 
13 class pqPipelineSource;
14 class pqView;
16 
39 {
40  Q_OBJECT
41  typedef QObject Superclass;
42 
43 public:
44  pqLiveSourceBehavior(QObject* parent = nullptr);
45  ~pqLiveSourceBehavior() override;
46 
50  PARAVIEW_DEPRECATED_IN_5_13_0("Please use pqLiveSourceManager::pause() instead")
51  static void pause();
52 
56  PARAVIEW_DEPRECATED_IN_5_13_0("Please use pqLiveSourceManager::resume() instead")
57  static void resume();
58 
62  PARAVIEW_DEPRECATED_IN_5_13_0("Please use pqLiveSourceManager::isPaused() instead")
63  static bool isPaused();
64 
65 private:
66  Q_DISABLE_COPY(pqLiveSourceBehavior);
67 };
68 
69 #endif
pqLiveSourceManager is the manager that handle all live sources in ParaView It is usually instantiate...
pqLiveSourceBehavior adds support for generated "live" sources algorithms.
#define PQAPPLICATIONCOMPONENTS_EXPORT
This is a PQ abstraction of a generic view module.
Definition: pqView.h:26
#define PARAVIEW_DEPRECATED_IN_5_13_0(reason)
PQ representation for a vtkSMProxy that can be involved in a pipeline.