src
paraview-5.12
Qt
ApplicationComponents
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
7
#include "pqApplicationComponentsModule.h"
8
#include <QObject>
9
#include <QScopedPointer>
10
11
class
pqPipelineSource
;
12
class
pqView
;
13
25
class
PQAPPLICATIONCOMPONENTS_EXPORT
pqLiveSourceBehavior
:
public
QObject
26
{
27
Q_OBJECT
28
typedef
QObject Superclass;
29
30
public
:
31
pqLiveSourceBehavior
(QObject* parent =
nullptr
);
32
~
pqLiveSourceBehavior
()
override
;
33
37
static
void
pause();
38
42
static
void
resume();
43
47
static
bool
isPaused
() {
return
pqLiveSourceBehavior::PauseLiveUpdates; }
48
49
protected
Q_SLOTS:
50
void
viewAdded(
pqView
*);
51
void
sourceAdded(
pqPipelineSource
*);
52
void
timeout();
53
54
private
:
55
Q_DISABLE_COPY(
pqLiveSourceBehavior
);
56
void
startInteractionEvent();
57
void
endInteractionEvent();
58
59
class
pqInternals;
60
QScopedPointer<pqInternals> Internals;
61
62
static
bool
PauseLiveUpdates;
63
};
64
65
#endif
pqLiveSourceBehavior::isPaused
static bool isPaused()
Returns true if live updates are paused.
Definition:
pqLiveSourceBehavior.h:47
pqView
This is a PQ abstraction of a generic view module.
Definition:
pqView.h:26
pqPipelineSource
PQ representation for a vtkSMProxy that can be involved in a pipeline.
Definition:
pqPipelineSource.h:32
pqLiveSourceBehavior
Definition:
pqLiveSourceBehavior.h:25
Generated by
1.8.17 on Wed Mar 27 2024