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 "vtkRemotingCoreModule.h" // needed for exports
17 
19 {
20 public:
21  static vtkPVPluginsInformation* New();
23  void PrintSelf(ostream& os, vtkIndent indent) override;
24 
26 
29  unsigned int GetNumberOfPlugins();
30  const char* GetPluginName(unsigned int);
31  const char* GetPluginFileName(unsigned int);
32  const char* GetPluginVersion(unsigned int);
33  bool GetPluginLoaded(unsigned int);
34  const char* GetRequiredPlugins(unsigned int);
35  bool GetRequiredOnServer(unsigned int);
36  bool GetRequiredOnClient(unsigned int);
37  const char* GetDescription(unsigned int);
38  bool GetAutoLoad(unsigned int);
40 
42 
45  const char* GetPluginStatusMessage(unsigned int);
46  void SetPluginStatusMessage(unsigned int, const char*);
48 
52  void SetAutoLoad(unsigned int cc, bool);
53 
62  void SetAutoLoadAndForce(unsigned int cc, bool);
63 
67  void CopyFromObject(vtkObject*) override;
68 
72  void AddInformation(vtkPVInformation*) override;
73 
78  void Update(vtkPVPluginsInformation* other);
79 
81 
84  void CopyToStream(vtkClientServerStream*) override;
85  void CopyFromStream(const vtkClientServerStream*) override;
87 
89 
92  vtkGetStringMacro(SearchPaths);
94 
95 protected:
97  ~vtkPVPluginsInformation() override;
98 
99  char* SearchPaths;
100  vtkSetStringMacro(SearchPaths);
101 
102 private:
104  void operator=(const vtkPVPluginsInformation&) = delete;
105 
106  class vtkInternals;
107  vtkInternals* Internals;
108 };
109 
110 #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.
void operator=(const vtkPVInformation &)=delete
#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.
static vtkObject * New()
Superclass for information objects.