31 #ifndef vtkSMSourceProxy_h 32 #define vtkSMSourceProxy_h 41 struct vtkSMSourceProxyInternals;
63 virtual void UpdatePipeline();
69 virtual void UpdatePipeline(
double time);
75 vtkGetMacro(OutputPortsCreated,
int);
81 virtual unsigned int GetNumberOfOutputPorts();
104 virtual unsigned int GetOutputPortIndex(
const char* portname);
112 virtual const char* GetOutputPortName(
unsigned int index);
130 virtual void CreateOutputPorts();
168 unsigned int outputIdx,
const char* selector,
const char* assemblyName =
nullptr);
176 unsigned int outputIdx,
unsigned int compositeIndex);
184 return this->GetRankDataInformation(0u, rank);
193 virtual void CreateSelectionProxies();
200 void SetSelectionInput(
unsigned int portIndex,
vtkSMSourceProxy* input,
unsigned int outputPort);
207 unsigned int GetSelectionInputPort(
unsigned int portIndex);
213 void CleanSelectionInputs(
unsigned int portIndex);
221 using Superclass::SaveXMLState;
239 vtkGetMacro(ProcessSupport,
int);
246 vtkGetMacro(MPIRequired,
bool);
253 vtkGetMacro(StreamReply,
bool);
258 unsigned int GetNumberOfAlgorithmOutputPorts();
264 virtual unsigned int GetNumberOfAlgorithmRequiredInputPorts();
275 unsigned int GetSelectionId();
276 unsigned int GetSelectionPort();
277 void SetSelectionId(
unsigned int id);
278 void SetSelectionPort(
unsigned int port);
296 void EnableAbortCheck();
301 void ClearAbortFlags();
315 vtkTypeUInt32 location = 0)
override;
334 vtkSetStringMacro(ExecutiveName);
349 void RemoveAllOutputPorts();
351 void RemoveAllExtractSelectionProxies();
363 const char* name,
bool propagate_to_subproxies,
bool propagate_to_proxylistdomains)
override;
371 vtkSMSourceProxyInternals* PInternals;
375 unsigned int NumberOfAlgorithmOutputPorts;
376 unsigned int NumberOfAlgorithmRequiredInputPorts;
381 bool StreamReply =
true;
virtual void PostUpdateData(bool using_cache)
This method is called after the algorithm(s) (if any) associated with this proxy execute.
virtual void UpdatePipelineInformation()
This method simply iterates over subproxies and calls UpdatePipelineInformation() on them...
friend class vtkSMSourceProxy
These classes have been declared as friends to minimize the public interface exposed by vtkSMProxy...
bool DisableSelectionProxies
void PrintSelf(ostream &os, vtkIndent indent) override
#define VTKREMOTINGSERVERMANAGER_EXPORT
virtual int ReadXMLAttributes(vtkSMSessionProxyManager *pm, vtkPVXMLElement *element)
Read attributes from an XML element.
superclass for all SM properties
virtual void ExecuteStream(const vtkClientServerStream &msg, bool ignore_errors=false, vtkTypeUInt32 location=0)
Invoke that takes a vtkClientServerStream as the argument.
virtual void InvalidateDataInformation()
Mark data information as invalid.
Store messages for the interpreter.
virtual void MarkDirty(vtkSMProxy *modifiedProxy)
Dirty means this algorithm will execute during next update.
virtual void SetLogNameInternal(const char *name, bool propagate_to_subproxies, bool propagate_to_proxylistdomains)
Internal method used by SetLogName
vtkPVDataInformation * GetRankDataInformation(int rank)
Get rank-specific data information.
proxy for a VTK source on a server
The vtkSMSessionProxyManager is esponsible for creating and managing proxies for a given session...
vtkPVDataInformation * GetDataInformation()
DataInformation is used by the source proxy to obtain information on the output(s) from the server...
static vtkSMProxy * New()
virtual void CreateVTKObjects()
Given a class name (by setting VTKClassName) and server ids (by setting ServerIDs), this methods instantiates the objects on the server(s)
virtual int LoadXMLState(vtkPVXMLElement *element, vtkSMProxyLocator *locator)
Loads the proxy state from the XML element.
proxy for a VTK object(s) on a server
is used to locate proxies referred to in state xmls while loading state files.
reference for an output port of a vtkAlgorithm.
class providing access to the documentation for a vtkSMProxy.
void operator=(const vtkSMProxy &)=delete
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.
virtual vtkTypeUInt32 GetGlobalID()
Get the global unique id for this object.
bool SelectionProxiesCreated
iterates over the properties of a proxy