Qt
ApplicationComponents
pqThreadedUpdateBehavior.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2
// SPDX-License-Identifier: BSD-3-Clause
3
#ifndef pqThreadedUpdateBehavior_h
4
#define pqThreadedUpdateBehavior_h
5
6
#include "pqApplicationComponentsModule.h"
7
#include "
vtkEventQtSlotConnect.h
"
8
#include "
vtkNew.h
"
9
10
#include <QObject>
11
#include <QPointer>
12
13
class
pqServer
;
14
20
class
PQAPPLICATIONCOMPONENTS_EXPORT
pqThreadedUpdateBehavior
:
public
QObject
21
{
22
Q_OBJECT
23
typedef
QObject Superclass;
24
25
public
:
26
pqThreadedUpdateBehavior
(QObject* parent =
nullptr
);
27
28
Q_SIGNALS:
29
33
void
endLoop();
34
35
protected
Q_SLOTS:
36
41
void
onServerCreation(
pqServer
*);
42
46
void
loop
();
47
48
private
:
49
Q_DISABLE_COPY(
pqThreadedUpdateBehavior
)
50
51
vtkNew<vtkEventQtSlotConnect>
VTKConnector;
52
};
53
54
#endif
pqThreadedUpdateBehavior
pqThreadedUpdateBehavior let the data update code running in a separate thread and keep the main thre...
Definition:
pqThreadedUpdateBehavior.h:20
vtkEventQtSlotConnect.h
loop
loop
vtkNew.h
vtkNew< vtkEventQtSlotConnect >
pqServer
pqServer (should be renamed to pqSession) is a pqServerManagerModelItem subclass that represents a vt...
Definition:
pqServer.h:37
Generated by
1.8.13 on Sat Dec 5 2026