vtkSMWriterProxy.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3 Program: ParaView
4 Module: vtkSMWriterProxy.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 =========================================================================*/
26 #ifndef vtkSMWriterProxy_h
27 #define vtkSMWriterProxy_h
28 
29 #include "vtkRemotingServerManagerModule.h" //needed for exports
30 #include "vtkSMSourceProxy.h"
31 
33 {
34 public:
35  static vtkSMWriterProxy* New();
37  void PrintSelf(ostream& os, vtkIndent indent) override;
38 
44  void UpdatePipeline() override;
45 
51  void UpdatePipeline(double time) override;
52 
54 
58  vtkSetMacro(SupportsParallel, int);
59  int GetSupportsParallel() { return this->SupportsParallel || this->ParallelOnly; }
61 
63 
67  vtkGetMacro(ParallelOnly, int);
68  vtkSetMacro(ParallelOnly, int);
70 
71 protected:
73  ~vtkSMWriterProxy() override;
74 
79 
82 
83  // This is the name of the method used to set the file name on the
84  // internal reader. See vtkFileSeriesReader for details.
85  vtkSetStringMacro(FileNameMethod);
86  vtkGetStringMacro(FileNameMethod);
87 
88  char* FileNameMethod;
89 
90 private:
91  vtkSMWriterProxy(const vtkSMWriterProxy&) = delete;
92  void operator=(const vtkSMWriterProxy&) = delete;
93 };
94 
95 #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()