vtkPVPluginsInformation.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPVPluginsInformation.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 =========================================================================*/
24 #ifndef vtkPVPluginsInformation_h
25 #define vtkPVPluginsInformation_h
26 
27 #include "vtkPVInformation.h"
28 #include "vtkRemotingCoreModule.h" //needed for exports
29 
31 {
32 public:
33  static vtkPVPluginsInformation* New();
35  void PrintSelf(ostream& os, vtkIndent indent) override;
36 
38 
41  unsigned int GetNumberOfPlugins();
42  const char* GetPluginName(unsigned int);
43  const char* GetPluginFileName(unsigned int);
44  const char* GetPluginVersion(unsigned int);
45  bool GetPluginLoaded(unsigned int);
46  const char* GetRequiredPlugins(unsigned int);
47  bool GetRequiredOnServer(unsigned int);
48  bool GetRequiredOnClient(unsigned int);
49  const char* GetDescription(unsigned int);
50  bool GetAutoLoad(unsigned int);
52 
57  const char* GetPluginStatusMessage(unsigned int);
58 
62  void SetAutoLoad(unsigned int cc, bool);
63 
72  void SetAutoLoadAndForce(unsigned int cc, bool);
73 
77  void CopyFromObject(vtkObject*) override;
78 
82  void AddInformation(vtkPVInformation*) override;
83 
88  void Update(vtkPVPluginsInformation* other);
89 
91 
94  void CopyToStream(vtkClientServerStream*) override;
95  void CopyFromStream(const vtkClientServerStream*) override;
97 
99 
102  vtkGetStringMacro(SearchPaths);
104 
111  static bool PluginRequirementsSatisfied(
112  vtkPVPluginsInformation* client_plugins, vtkPVPluginsInformation* server_plugins);
113 
114 protected:
116  ~vtkPVPluginsInformation() override;
117 
118  char* SearchPaths;
119  vtkSetStringMacro(SearchPaths);
120 
121 private:
123  void operator=(const vtkPVPluginsInformation&) = delete;
124 
125  class vtkInternals;
126  vtkInternals* Internals;
127 };
128 
129 #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.