ParaView
ParaViewCore
Common
vtkClientServerInterpreterInitializer.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: ParaView
4
Module: vtkClientServerInterpreterInitializer.h
5
6
Copyright (c) Kitware, Inc.
7
All rights reserved.
8
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
9
10
This software is distributed WITHOUT ANY WARRANTY; without even
11
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
PURPOSE. See the above copyright notice for more information.
13
14
=========================================================================*/
28
#ifndef vtkClientServerInterpreterInitializer_h
29
#define vtkClientServerInterpreterInitializer_h
30
31
#include "vtkObject.h"
32
#include "vtkPVCommonModule.h"
// needed for export macro
33
34
class
vtkClientServerInterpreter
;
35
36
class
VTKPVCOMMON_EXPORT
vtkClientServerInterpreterInitializer
:
public
vtkObject
37
{
38
public
:
39
vtkTypeMacro(
vtkClientServerInterpreterInitializer
, vtkObject);
40
void
PrintSelf(ostream& os, vtkIndent indent);
41
45
vtkClientServerInterpreter
* NewInterpreter();
46
55
static
vtkClientServerInterpreter
* GetGlobalInterpreter();
56
61
static
vtkClientServerInterpreterInitializer
* GetInitializer();
62
63
typedef
void (*InterpreterInitializationCallback)(
vtkClientServerInterpreter
*);
64
73
void
RegisterCallback(InterpreterInitializationCallback callback);
74
75
protected
:
76
static
vtkClientServerInterpreterInitializer
* New();
77
vtkClientServerInterpreterInitializer
();
78
~
vtkClientServerInterpreterInitializer
();
79
84
void
RegisterInterpreter(
vtkClientServerInterpreter
*);
85
86
private
:
87
vtkClientServerInterpreterInitializer
(
88
const
vtkClientServerInterpreterInitializer
&) VTK_DELETE_FUNCTION;
89
void
operator=(
const
vtkClientServerInterpreterInitializer
&) VTK_DELETE_FUNCTION;
90
91
class
vtkInternals;
92
vtkInternals* Internals;
93
};
94
95
#endif
vtkClientServerInterpreterInitializer
vtkClientServerInterpreterInitializer initializes and maintains the global vtkClientServerInterpreter...
Definition:
vtkClientServerInterpreterInitializer.h:36
vtkClientServerInterpreter
Run-time VTK interpreter.
Definition:
vtkClientServerInterpreter.h:64
Generated by
1.8.13