vtkPVEnSightMasterServerReader.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPVEnSightMasterServerReader.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 =========================================================================*/
20 #ifndef vtkPVEnSightMasterServerReader_h
21 #define vtkPVEnSightMasterServerReader_h
22 
24 #include "vtkPVVTKExtensionsIOEnSightModule.h" //needed for exports
25 
27 class vtkPVEnSightMasterServerReaderInternal;
29 
32 {
33 public:
36  void PrintSelf(ostream& os, vtkIndent indent) override;
37 
39 
48  virtual vtkMultiProcessController* GetController();
49  virtual void SetController(vtkMultiProcessController* controller);
51 
55  int CanReadFile(const char*) override;
56 
58 
62  vtkGetMacro(NumberOfPieces, int);
64 
65 protected:
68 
71  int ParseMasterServerFile();
72 
73  void SuperclassExecuteInformation(vtkInformation*, vtkInformationVector**, vtkInformationVector*);
74  void SuperclassExecuteData(vtkInformation*, vtkInformationVector**, vtkInformationVector*);
75 
76  // The MPI controller used to communicate with the instances in
77  // other processes.
79 
80  // The number of pieces available in the file.
82 
83  // Internal implementation details.
84  vtkPVEnSightMasterServerReaderInternal* Internal;
85 
86  // The extent translator used to provide the correct breakdown of
87  // pieces across processes.
89 
90  // Whether an error occurred during ExecuteInformation.
92 
93 private:
95  void operator=(const vtkPVEnSightMasterServerReader&) = delete;
96 };
97 
98 #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 *)