Qt
Core
pqSMProxy.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
5
#ifndef pqSMProxy_h
6
#define pqSMProxy_h
7
8
#include "
pqCoreModule.h
"
9
#include "
vtkSMProxy.h
"
10
#include "
vtkSmartPointer.h
"
11
#include <QMetaType>
12
16
typedef
vtkSmartPointer<vtkSMProxy>
pqSMProxy
;
17
21
Q_DECLARE_METATYPE(
pqSMProxy
)
22
23
// use Schwartz counter idiom to correctly
24
// call qRegisterMetaType<> even on static builds when pqSMProxy
25
// header is included in any translation unit.
26
static class
PQCORE_EXPORT
pqSMProxySchwartzCounter
27
{
28
public
:
29
pqSMProxySchwartzCounter
();
30
~pqSMProxySchwartzCounter() =
default
;
31
}
pqSMProxySchwartzCounter
;
32
33
#endif
pqCoreModule.h
vtkSmartPointer< vtkSMProxy >
pqSMProxySchwartzCounter
static class PQCORE_EXPORT pqSMProxySchwartzCounter pqSMProxySchwartzCounter
pqSMProxy
vtkSmartPointer< vtkSMProxy > pqSMProxy
make pqSMProxy synonymous to a smart pointer of a vtkSMProxy
Definition:
pqSMProxy.h:16
PQCORE_EXPORT
#define PQCORE_EXPORT
Definition:
pqCoreModule.h:15
vtkSmartPointer.h
vtkSMProxy.h
pqSMProxySchwartzCounter
declare pqSMProxy for use with QVariant
Definition:
pqSMProxy.h:26
Generated by
1.8.13 on Sat Dec 9 2023