vtkPVInitializer.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
3 
4 #ifndef vtkPVInitializer_h
5 #define vtkPVInitializer_h
6 
7 #include "vtkPVPlugin.h"
8 #include "vtkPVServerManagerPluginInterface.h" // plugin interface mixin
9 
10 #include "paraview_client_server.h" // client server bindings
11 #include "paraview_server_manager.h" // server manager XML data
12 
14 
16  : public vtkPVPlugin
18 {
19  const char* GetPluginName() override { return "vtkPVInitializerPlugin"; }
20  const char* GetPluginVersionString() override { return "0.0"; }
21  bool GetRequiredOnServer() override { return false; }
22  bool GetRequiredOnClient() override { return false; }
23  const char* GetRequiredPlugins() override { return ""; }
24  const char* GetDescription() override { return ""; }
25  void GetBinaryResources(std::vector<std::string>&) override {}
26  const char* GetEULA() override { return nullptr; }
27 
28  void GetXMLs(std::vector<std::string>& xmls) override
29  {
31  }
32 
34  GetInitializeInterpreterCallback() override
35  {
37  }
38 };
39 
40 inline void paraview_initialize()
41 {
42  static vtkPVInitializerPlugin instance;
43  vtkPVPlugin::ImportPlugin(&instance);
44 }
45 
46 #endif
47 
48 // VTK-HeaderTest-Exclude: vtkPVInitializer.h
vtkPVServerManagerPluginInterface defines the interface needed to be implemented by a server-manager ...
static bool ImportPlugin(vtkPVPlugin *plugin)
Used when import plugins programmatically.
void paraview_initialize()
defines the core interface for any ParaView plugin.
Definition: vtkPVPlugin.h:38
void paraview_server_manager_initialize(std::vector< std::string > &xmls)
Run-time VTK interpreter.
void(* InterpreterInitializationCallback)(vtkClientServerInterpreter *)
void paraview_client_server_initialize(vtkClientServerInterpreter *csi)