vtkPVEnSightMasterServerReader.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
8 #ifndef vtkPVEnSightMasterServerReader_h
9 #define vtkPVEnSightMasterServerReader_h
10 
12 #include "vtkPVVTKExtensionsIOEnSightModule.h" //needed for exports
13 
15 class vtkPVEnSightMasterServerReaderInternal;
17 
20 {
21 public:
24  void PrintSelf(ostream& os, vtkIndent indent) override;
25 
27 
36  virtual vtkMultiProcessController* GetController();
37  virtual void SetController(vtkMultiProcessController* controller);
39 
43  int CanReadFile(const char*) override;
44 
46 
50  vtkGetMacro(NumberOfPieces, int);
52 
53 protected:
56 
59  int ParseMasterServerFile();
60 
61  void SuperclassExecuteInformation(vtkInformation*, vtkInformationVector**, vtkInformationVector*);
62  void SuperclassExecuteData(vtkInformation*, vtkInformationVector**, vtkInformationVector*);
63 
64  // The MPI controller used to communicate with the instances in
65  // other processes.
67 
68  // The number of pieces available in the file.
70 
71  // Internal implementation details.
72  vtkPVEnSightMasterServerReaderInternal* Internal;
73 
74  // The extent translator used to provide the correct breakdown of
75  // pieces across processes.
77 
78  // Whether an error occurred during ExecuteInformation.
80 
81 private:
83  void operator=(const vtkPVEnSightMasterServerReader&) = delete;
84 };
85 
86 #endif
vtkPVEnSightMasterServerReaderInternal * Internal
vtkPVEnSightMasterServerTranslator * ExtentTranslator
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
static vtkGenericEnSightReader * New()
void PrintSelf(ostream &os, vtkIndent indent)
void operator=(const vtkObjectBase &)
#define VTKPVVTKEXTENSIONSIOENSIGHT_EXPORT
static int CanReadFile(const char *casefilename)
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)