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 
32 class VTKREMOTINGSERVERMANAGER_EXPORT vtkSMSelfGeneratingSourceProxy : public vtkSMSourceProxy
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
vtkSMProxy::LoadXMLState
virtual int LoadXMLState(vtkPVXMLElement *element, vtkSMProxyLocator *locator)
Loads the proxy state from the XML element.
vtkSMProxy::Internals
vtkSMProxyInternals * Internals
Definition: vtkSMProxy.h:1002
vtkSMSourceProxy.h
vtkSMSourceProxy::CreateVTKObjects
void CreateVTKObjects() override
Call superclass' and then assigns a new executive (vtkCompositeDataPipeline)
vtkSMSourceProxy
proxy for a VTK source on a server
Definition: vtkSMSourceProxy.h:37
vtkSMProxy::SaveXMLState
virtual vtkPVXMLElement * SaveXMLState(vtkPVXMLElement *root)
Saves the state of the proxy.
vtkIndent
vtkSMSourceProxy::New
static vtkSMSourceProxy * New()
vtkPVXMLElement
Definition: vtkPVXMLElement.h:23
vtkSMProxyLocator
is used to locate proxies referred to in state xmls while loading state files.
Definition: vtkSMProxyLocator.h:24
vtkSMPropertyIterator
iterates over the properties of a proxy
Definition: vtkSMPropertyIterator.h:24
vtkSMSelfGeneratingSourceProxy
source proxy that generates its own proxy definition at run time.
Definition: vtkSMSelfGeneratingSourceProxy.h:32
vtkSMSourceProxy::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override