vtkSMSelfGeneratingSourceProxy.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
27 #ifndef vtkSMSelfGeneratingSourceProxy_h
28 #define vtkSMSelfGeneratingSourceProxy_h
29 
30 #include "vtkSMSourceProxy.h"
31 
33 {
34 public:
37  void PrintSelf(ostream& os, vtkIndent indent) override;
38 
40 
43  virtual bool ExtendDefinition(const char* proxy_definition_xml);
44  virtual bool ExtendDefinition(vtkPVXMLElement* xml);
46 
48 
54 
58  int LoadXMLState(vtkPVXMLElement* element, vtkSMProxyLocator* locator) override;
59 
63  void CreateVTKObjects() override;
64 
65 protected:
68 
69 private:
71  void operator=(const vtkSMSelfGeneratingSourceProxy&) = delete;
72 
73  bool ExtendDefinitionOnSIProxy(vtkPVXMLElement* xml);
74 
75  class vtkInternals;
76  vtkInternals* Internals;
77 };
78 
79 #endif
source proxy that generates its own proxy definition at run time.
#define VTKREMOTINGSERVERMANAGER_EXPORT
void CreateVTKObjects() override
Call superclass' and then assigns a new executive (vtkCompositeDataPipeline)
proxy for a VTK source on a server
virtual int LoadXMLState(vtkPVXMLElement *element, vtkSMProxyLocator *locator)
Loads the proxy state from the XML element.
is used to locate proxies referred to in state xmls while loading state files.
vtkSMProxyInternals * Internals
Definition: vtkSMProxy.h:1024
virtual vtkPVXMLElement * SaveXMLState(vtkPVXMLElement *root)
Saves the state of the proxy.
This is used by vtkPVXMLParser to represent an XML document starting at the root element.
void PrintSelf(ostream &os, vtkIndent indent) override
static vtkSMSourceProxy * New()
iterates over the properties of a proxy