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 
18 class VTKPVVTKEXTENSIONSIOENSIGHT_EXPORT vtkPVEnSightMasterServerReader
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
vtkObjectBase::operator=
void operator=(const vtkObjectBase &)
vtkGenericEnSightReader::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkGenericEnSightReader::CanReadFile
static int CanReadFile(const char *casefilename)
vtkGenericEnSightReader.h
vtkPVEnSightMasterServerReader::Internal
vtkPVEnSightMasterServerReaderInternal * Internal
Definition: vtkPVEnSightMasterServerReader.h:72
vtkGenericEnSightReader::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkInformationVector
vtkPVEnSightMasterServerReader
Definition: vtkPVEnSightMasterServerReader.h:18
vtkPVEnSightMasterServerReader::Controller
vtkMultiProcessController * Controller
Definition: vtkPVEnSightMasterServerReader.h:66
vtkPVEnSightMasterServerReader::NumberOfPieces
int NumberOfPieces
Definition: vtkPVEnSightMasterServerReader.h:69
vtkMultiProcessController
vtkIndent
vtkGenericEnSightReader
vtkInformation
vtkPVEnSightMasterServerReader::InformationError
int InformationError
Definition: vtkPVEnSightMasterServerReader.h:79
vtkGenericEnSightReader::RequestInformation
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkGenericEnSightReader::New
static vtkGenericEnSightReader * New()
vtkPVEnSightMasterServerTranslator
Definition: vtkPVEnSightMasterServerTranslator.h:14
vtkPVEnSightMasterServerReader::ExtentTranslator
vtkPVEnSightMasterServerTranslator * ExtentTranslator
Definition: vtkPVEnSightMasterServerReader.h:76