vtkClientServerInterpreterInitializer.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
16 #ifndef vtkClientServerInterpreterInitializer_h
17 #define vtkClientServerInterpreterInitializer_h
18 
19 #include "vtkObject.h"
20 #include "vtkRemotingClientServerStreamModule.h" // Top-level vtkClientServer header.
21 
23 
25 {
26 public:
28  void PrintSelf(ostream& os, vtkIndent indent) override;
29 
33  vtkClientServerInterpreter* NewInterpreter();
34 
43  static vtkClientServerInterpreter* GetGlobalInterpreter();
44 
49  static vtkClientServerInterpreterInitializer* GetInitializer();
50 
51  typedef void (*InterpreterInitializationCallback)(vtkClientServerInterpreter*);
52 
61  void RegisterCallback(InterpreterInitializationCallback callback);
62 
63 protected:
67 
72  void RegisterInterpreter(vtkClientServerInterpreter*);
73 
74 private:
77 
78  class vtkInternals;
79  vtkInternals* Internals;
80 };
81 
82 #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 &)