vtkSMWriterProxy.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
14 #ifndef vtkSMWriterProxy_h
15 #define vtkSMWriterProxy_h
16 
17 #include "vtkRemotingServerManagerModule.h" //needed for exports
18 #include "vtkSMSourceProxy.h"
19 
21 {
22 public:
23  static vtkSMWriterProxy* New();
25  void PrintSelf(ostream& os, vtkIndent indent) override;
26 
32  void UpdatePipeline() override;
33 
39  void UpdatePipeline(double time) override;
40 
42 
46  vtkSetMacro(SupportsParallel, int);
47  int GetSupportsParallel() { return this->SupportsParallel || this->ParallelOnly; }
49 
51 
55  vtkGetMacro(ParallelOnly, int);
56  vtkSetMacro(ParallelOnly, int);
58 
59 protected:
61  ~vtkSMWriterProxy() override;
62 
67 
70 
71  // This is the name of the method used to set the file name on the
72  // internal reader. See vtkFileSeriesReader for details.
73  vtkSetStringMacro(FileNameMethod);
74  vtkGetStringMacro(FileNameMethod);
75 
76  char* FileNameMethod;
77 
78 private:
79  vtkSMWriterProxy(const vtkSMWriterProxy&) = delete;
80  void operator=(const vtkSMWriterProxy&) = delete;
81 };
82 
83 #endif
int GetSupportsParallel()
Flag indicating if the writer supports writing in parallel.
#define VTKREMOTINGSERVERMANAGER_EXPORT
proxy for a VTK writer on a server
virtual void UpdatePipeline()
Calls Update() on all sources.
proxy for a VTK source on a server
The vtkSMSessionProxyManager is esponsible for creating and managing proxies for a given session...
int ReadXMLAttributes(vtkSMSessionProxyManager *pm, vtkPVXMLElement *element) override
Read attributes from an XML element.
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()