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 
132 class VTKREMOTINGSERVERMANAGER_EXPORT vtkSMMultiplexerSourceProxy : public vtkSMSourceProxy
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
vtkSMSessionProxyManager
Definition: vtkSMSessionProxyManager.h:135
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
vtkSMProxy::LoadState
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 ...
vtkSMMultiplexerInputDomain::IsInDomain
int IsInDomain(vtkSMProperty *property) override
vtkSMMultiplexerInputDomain
input domain used for vtkSMMultiplexerSourceProxy
Definition: vtkSMMultiplexerInputDomain.h:18
vtkSMProxy
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:140
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
vtkSMMessage
vtkSMSourceProxy::New
static vtkSMSourceProxy * New()
vtkSMProxy::CreateSubProxiesAndProperties
virtual int CreateSubProxiesAndProperties(vtkSMSessionProxyManager *pm, vtkPVXMLElement *element)
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
vtkSMMultiplexerSourceProxy
a multiplexer proxy
Definition: vtkSMMultiplexerSourceProxy.h:132
vtkSMSourceProxy::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
vtkSMInputProperty
proxy representing inputs to a filter
Definition: vtkSMInputProperty.h:28