ParaView
vtkSMMultiServerSourceProxy.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkSMMultiServerSourceProxy.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 =========================================================================*/
24 #ifndef vtkSMMultiServerSourceProxy_h
25 #define vtkSMMultiServerSourceProxy_h
26 
27 #include "vtkPVServerManagerDefaultModule.h" //needed for exports
28 #include "vtkSMSourceProxy.h"
29 
30 class vtkSMProxy;
31 
32 class VTKPVSERVERMANAGERDEFAULT_EXPORT vtkSMMultiServerSourceProxy : public vtkSMSourceProxy
33 {
34 public:
37  void PrintSelf(ostream& os, vtkIndent indent);
38 
42  virtual void SetExternalProxy(vtkSMSourceProxy* proxyFromAnotherServer, int port = 0);
43 
47  virtual vtkSMSourceProxy* GetExternalProxy();
48 
52  virtual void MarkDirty(vtkSMProxy* modifiedProxy);
53 
61  virtual void LoadState(const vtkSMMessage* message, vtkSMProxyLocator* locator);
62 
63 protected:
66 
67  virtual void UpdateState();
68 
70  vtkIdType RemoteProxyID;
72 
73 private:
74  vtkSMMultiServerSourceProxy(const vtkSMMultiServerSourceProxy&) VTK_DELETE_FUNCTION;
75  void operator=(const vtkSMMultiServerSourceProxy&) VTK_DELETE_FUNCTION;
76 };
77 
78 #endif
virtual void MarkDirty(vtkSMProxy *modifiedProxy)
Marks the selection proxies dirty as well as chain to superclass.
friend class vtkSMMultiServerSourceProxy
These classes have been declared as friends to minimize the public interface exposed by vtkSMProxy...
Definition: vtkSMProxy.h:654
Header class that setup every thing in order to use Protobuf messages in a transparent manner...
proxy for a VTK source on a server
void PrintSelf(ostream &os, vtkIndent indent)
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:152
is used to locate proxies referred to in state xmls while loading state files.
virtual void LoadState(const vtkSMMessage *msg, vtkSMProxyLocator *locator)
This method is used to initialise the object to the given state If the definitionOnly Flag is set to ...
static vtkSMSourceProxy * New()