vtkSMMultiplexerSourceProxy.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkSMMultiplexerSourceProxy.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 =========================================================================*/
134 #ifndef vtkSMMultiplexerSourceProxy_h
135 #define vtkSMMultiplexerSourceProxy_h
136 
137 #include "vtkRemotingServerManagerModule.h" //needed for exports
138 #include "vtkSMSourceProxy.h"
139 #include <memory> // for std::unique_ptr
140 
142 class vtkSMInputProperty;
143 
145 {
146 public:
149  void PrintSelf(ostream& os, vtkIndent indent) override;
150 
152 
158  int LoadXMLState(vtkPVXMLElement* element, vtkSMProxyLocator* locator) override;
159  void LoadState(const vtkSMMessage* msg, vtkSMProxyLocator* locator) override;
161 
162 protected:
165 
166  void CreateVTKObjects() override;
167 
169  vtkSMSessionProxyManager* pm, vtkPVXMLElement* element) override;
170 
172  int IsInDomain(vtkSMInputProperty* property);
173 
174  void Select(vtkSMProxy*);
175 
176 private:
178  void operator=(const vtkSMMultiplexerSourceProxy&) = delete;
179 
180  void CurateApplicableProxies();
181  void SetupSubProxies();
182 
183  void SetupSubProxy(vtkSMProxy* proxy);
184 
185  class vtkInternals;
186  std::unique_ptr<vtkInternals> Internals;
187 };
188 
189 #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:152
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
proxy representing inputs to a filter