vtkPVPluginsInformation.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
12 #ifndef vtkPVPluginsInformation_h
13 #define vtkPVPluginsInformation_h
14 
15 #include "vtkPVInformation.h"
16 #include "vtkParaViewDeprecation.h" // needed for deprecation
17 #include "vtkRemotingCoreModule.h" // needed for exports
18 
20 {
21 public:
22  static vtkPVPluginsInformation* New();
24  void PrintSelf(ostream& os, vtkIndent indent) override;
25 
27 
30  unsigned int GetNumberOfPlugins();
31  const char* GetPluginName(unsigned int);
32  const char* GetPluginFileName(unsigned int);
33  const char* GetPluginVersion(unsigned int);
34  bool GetPluginLoaded(unsigned int);
35  const char* GetRequiredPlugins(unsigned int);
36  bool GetRequiredOnServer(unsigned int);
37  bool GetRequiredOnClient(unsigned int);
38  const char* GetDescription(unsigned int);
39  bool GetAutoLoad(unsigned int);
41 
43 
46  const char* GetPluginStatusMessage(unsigned int);
47  void SetPluginStatusMessage(unsigned int, const char*);
49 
53  void SetAutoLoad(unsigned int cc, bool);
54 
63  void SetAutoLoadAndForce(unsigned int cc, bool);
64 
68  void CopyFromObject(vtkObject*) override;
69 
73  void AddInformation(vtkPVInformation*) override;
74 
79  void Update(vtkPVPluginsInformation* other);
80 
82 
85  void CopyToStream(vtkClientServerStream*) override;
86  void CopyFromStream(const vtkClientServerStream*) override;
88 
90 
93  vtkGetStringMacro(SearchPaths);
95 
102  PARAVIEW_DEPRECATED_IN_5_11_0("Use `vtkSMProxyManager::SatisfyPluginRequirements()` instead")
103  static bool PluginRequirementsSatisfied(
104  vtkPVPluginsInformation* client_plugins, vtkPVPluginsInformation* server_plugins);
105 
106 protected:
108  ~vtkPVPluginsInformation() override;
109 
110  char* SearchPaths;
111  vtkSetStringMacro(SearchPaths);
112 
113 private:
114  vtkPVPluginsInformation(const vtkPVPluginsInformation&) = delete;
115  void operator=(const vtkPVPluginsInformation&) = delete;
116 
117  class vtkInternals;
118  vtkInternals* Internals;
119 };
120 
121 #endif
virtual void CopyFromStream(const vtkClientServerStream *)
Manage a serialized version of the information.
void PrintSelf(ostream &os, vtkIndent indent) override
virtual void Update()
Store messages for the interpreter.
information about plugins tracked by vtkPVPluginTracker.
#define VTKREMOTINGCORE_EXPORT
virtual void AddInformation(vtkPVInformation *)
Merge another information object.
virtual void CopyToStream(vtkClientServerStream *)=0
Manage a serialized version of the information.
virtual void CopyFromObject(vtkObject *)
Transfer information about a single object into this object.
#define const
Definition: zconf.h:238
static vtkObject * New()
Superclass for information objects.
#define PARAVIEW_DEPRECATED_IN_5_11_0(reason)