vtkPVMultiServerDataSource.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
3 // SPDX-License-Identifier: BSD-3-Clause
10 #ifndef vtkPVMultiServerDataSource_h
11 #define vtkPVMultiServerDataSource_h
12 
13 #include "vtkDataObjectAlgorithm.h"
14 #include "vtkRemotingMiscModule.h" //needed for exports
15 
16 class vtkSMSourceProxy;
17 class vtkInformation;
19 
21 {
22 public:
25  void PrintSelf(ostream& os, vtkIndent indent) override;
26 
30  virtual void SetExternalProxy(vtkSMSourceProxy* proxyFromAnotherServer, int portNumber = 0);
31 
35  virtual void FetchData(vtkDataObject* dataObjectToFill);
36 
37 protected:
39  ~vtkPVMultiServerDataSource() override;
40 
41  // call 1
42  int RequestDataObject(vtkInformation*, vtkInformationVector** vtkNotUsed(inputVector),
43  vtkInformationVector* outputVector) override;
44 
45  // call 2
47  vtkInformation*, vtkInformationVector**, vtkInformationVector* outputVector) override;
48 
49  // call 3
51 
52  // call 4
53  int RequestData(
54  vtkInformation*, vtkInformationVector**, vtkInformationVector* outputVector) override;
55 
56 private:
58  void operator=(const vtkPVMultiServerDataSource&) = delete;
59 
60  struct vtkInternal;
61  vtkInternal* Internal;
62 };
63 
64 #endif
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
static vtkDataObjectAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
VTK class that handle the fetch of remote data.
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
proxy for a VTK source on a server
#define VTKREMOTINGMISC_EXPORT
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void operator=(const vtkObjectBase &)