vtkPVInitializer.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPVInitializer.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 =========================================================================*/
15 
16 #ifndef vtkPVInitializer_h
17 #define vtkPVInitializer_h
18 
19 #include "vtkPVPlugin.h"
21 
22 #include "paraview_client_server.h"
24 
26 
28 {
29  const char* GetPluginName() override { return "vtkPVInitializerPlugin"; }
30  const char* GetPluginVersionString() override { return "0.0"; }
31  bool GetRequiredOnServer() override { return false; }
32  bool GetRequiredOnClient() override { return false; }
33  const char* GetRequiredPlugins() override { return ""; }
34  const char* GetDescription() override { return ""; }
35  void GetBinaryResources(std::vector<std::string>&) override {}
36  const char* GetEULA() override { return nullptr; }
37 
38  void GetXMLs(std::vector<std::string>& xmls) override
39  {
41  }
42 
44  GetInitializeInterpreterCallback() override
45  {
47  }
48 };
49 
51 {
52  static vtkPVInitializerPlugin instance;
53  vtkPVPlugin::ImportPlugin(&instance);
54 }
55 
56 #endif
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:52
void paraview_server_manager_initialize(std::vector< std::string > &xmls)
Run-time VTK interpreter.
void(* InterpreterInitializationCallback)(vtkClientServerInterpreter *)
void paraview_client_server_initialize(vtkClientServerInterpreter *csi)