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 "vtkRemotingClientServerStreamModule.h" // Top-level vtkClientServer header.
33 
35 
37 {
38 public:
40  void PrintSelf(ostream& os, vtkIndent indent) override;
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:
79 
84  void RegisterInterpreter(vtkClientServerInterpreter*);
85 
86 private:
89 
90  class vtkInternals;
91  vtkInternals* Internals;
92 };
93 
94 #endif
vtkClientServerInterpreterInitializer initializes and maintains the global vtkClientServerInterpreter...
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
Run-time VTK interpreter.
#define VTKREMOTINGCLIENTSERVERSTREAM_EXPORT
static vtkObject * New()
void operator=(const vtkObjectBase &)