vtkSMMultiplexerSourceProxy.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
122 #ifndef vtkSMMultiplexerSourceProxy_h
123 #define vtkSMMultiplexerSourceProxy_h
124 
125 #include "vtkRemotingServerManagerModule.h" //needed for exports
126 #include "vtkSMSourceProxy.h"
127 #include <memory> // for std::unique_ptr
128 
130 class vtkSMInputProperty;
131 
133 {
134 public:
137  void PrintSelf(ostream& os, vtkIndent indent) override;
138 
140 
146  int LoadXMLState(vtkPVXMLElement* element, vtkSMProxyLocator* locator) override;
147  void LoadState(const vtkSMMessage* msg, vtkSMProxyLocator* locator) override;
149 
150 protected:
152  ~vtkSMMultiplexerSourceProxy() override;
153 
154  void CreateVTKObjects() override;
155 
157  vtkSMSessionProxyManager* pm, vtkPVXMLElement* element) override;
158 
160  int IsInDomain(vtkSMInputProperty* property);
161 
162  void Select(vtkSMProxy*);
163 
164 private:
166  void operator=(const vtkSMMultiplexerSourceProxy&) = delete;
167 
168  void CurateApplicableProxies();
169  void SetupSubProxies();
170 
171  void SetupSubProxy(vtkSMProxy* proxy);
172 
173  class vtkInternals;
174  std::unique_ptr<vtkInternals> Internals;
175 };
176 
177 #endif
virtual int CreateSubProxiesAndProperties(vtkSMSessionProxyManager *pm, vtkPVXMLElement *element)
input domain used for vtkSMMultiplexerSourceProxy
#define VTKREMOTINGSERVERMANAGER_EXPORT
Header class that setup every thing in order to use Protobuf messages in a transparent manner...
void CreateVTKObjects() override
Call superclass&#39; and then assigns a new executive (vtkCompositeDataPipeline)
int IsInDomain(vtkSMProperty *property) override
proxy for a VTK source on a server
The vtkSMSessionProxyManager is esponsible for creating and managing proxies for a given session...
void LoadState(const vtkSMMessage *msg, vtkSMProxyLocator *locator) override
This method is used to initialise the object to the given state If the definitionOnly Flag is set to ...
virtual int LoadXMLState(vtkPVXMLElement *element, vtkSMProxyLocator *locator)
Loads the proxy state from the XML element.
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:140
is used to locate proxies referred to in state xmls while loading state files.
vtkSMProxyInternals * Internals
Definition: vtkSMProxy.h:1002
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
proxy representing inputs to a filter