vtkSMSelfGeneratingSourceProxy.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkSMSelfGeneratingSourceProxy.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 =========================================================================*/
39 #ifndef vtkSMSelfGeneratingSourceProxy_h
40 #define vtkSMSelfGeneratingSourceProxy_h
41 
42 #include "vtkSMSourceProxy.h"
43 
45 {
46 public:
49  void PrintSelf(ostream& os, vtkIndent indent) override;
50 
52 
55  virtual bool ExtendDefinition(const char* proxy_definition_xml);
56  virtual bool ExtendDefinition(vtkPVXMLElement* xml);
58 
60 
66 
70  int LoadXMLState(vtkPVXMLElement* element, vtkSMProxyLocator* locator) override;
71 
75  void CreateVTKObjects() override;
76 
77 protected:
80 
81 private:
83  void operator=(const vtkSMSelfGeneratingSourceProxy&) = delete;
84 
85  bool ExtendDefinitionOnSIProxy(vtkPVXMLElement* xml);
86 
87  class vtkInternals;
88  vtkInternals* Internals;
89 };
90 
91 #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:1006
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