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);
39  bool GetDelayedLoad(unsigned int);
40  std::vector<std::string> GetXMLs(unsigned int);
42 
44 
47  const char* GetPluginStatusMessage(unsigned int);
48  void SetPluginStatusMessage(unsigned int, const char*);
50 
54  void SetAutoLoad(unsigned int cc, bool);
55 
59  void SetDelayedLoad(unsigned int cc, bool);
60 
69  void SetAutoLoadAndForce(unsigned int cc, bool);
70 
74  void CopyFromObject(vtkObject*) override;
75 
79  void AddInformation(vtkPVInformation*) override;
80 
85  void Update(vtkPVPluginsInformation* other);
86 
88 
91  void CopyToStream(vtkClientServerStream*) override;
92  void CopyFromStream(const vtkClientServerStream*) override;
94 
96 
99  vtkGetStringMacro(SearchPaths);
101 
102 protected:
104  ~vtkPVPluginsInformation() override;
105 
106  char* SearchPaths;
107  vtkSetStringMacro(SearchPaths);
108 
109 private:
111  void operator=(const vtkPVPluginsInformation&) = delete;
112 
113  class vtkInternals;
114  vtkInternals* Internals;
115 };
116 
117 #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.