vtkInSituPipelineIO.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
12 #ifndef vtkInSituPipelineIO_h
13 #define vtkInSituPipelineIO_h
14 
15 #include "vtkInSituPipeline.h"
16 #include "vtkPVInSituModule.h" // for exports
17 #include "vtkSmartPointer.h" // for vtkSmartPointer
18 
19 #include <string> // for std::string
20 
21 class vtkSMSourceProxy;
22 
24 {
25 public:
26  static vtkInSituPipelineIO* New();
28  void PrintSelf(ostream& os, vtkIndent indent) override;
29 
31 
34  vtkSetStringMacro(FileName);
35  vtkGetStringMacro(FileName);
37 
39 
42  vtkSetStringMacro(ChannelName);
43  vtkGetStringMacro(ChannelName);
45 
47 
50  bool Initialize() override;
51  bool Execute(int timestep, double time) override;
52  bool Finalize() override;
54 
59  virtual std::string GetCurrentFileName(const char* fname, int timestep, double time);
60 
61 protected:
63  ~vtkInSituPipelineIO() override;
64 
65 private:
67  void operator=(const vtkInSituPipelineIO&) = delete;
68 
69  char* FileName;
70  char* ChannelName;
72 };
73 
74 #endif
virtual bool Initialize()
Initialize is called once before the first call to &#39;Execute&#39;.
virtual bool Execute(int timestep, double time)=0
void PrintSelf(ostream &os, vtkIndent indent) override
proxy for a VTK source on a server
#define VTKPVINSITU_EXPORT
insitu pipeline for IO
abstract base class for all in situ pipelines.
static vtkObject * New()
virtual bool Finalize()
Called once before the in situ analysis is finalized.