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 "vtkRemotingMiscModule.h" //needed for exports
28 #include "vtkSMSourceProxy.h"
29 
30 class vtkSMProxy;
31 
33 {
34 public:
37  void PrintSelf(ostream& os, vtkIndent indent) override;
38 
42  virtual void SetExternalProxy(vtkSMSourceProxy* proxyFromAnotherServer, int port = 0);
43 
47  virtual vtkSMSourceProxy* GetExternalProxy();
48 
52  void MarkDirty(vtkSMProxy* modifiedProxy) override;
53 
61  void LoadState(const vtkSMMessage* message, vtkSMProxyLocator* locator) override;
62 
63 protected:
65  ~vtkSMMultiServerSourceProxy() override;
66 
67  virtual void UpdateState();
68 
72 
73 private:
75  void operator=(const vtkSMMultiServerSourceProxy&) = delete;
76 };
77 
78 #endif
friend class vtkSMMultiServerSourceProxy
These classes have been declared as friends to minimize the public interface exposed by vtkSMProxy...
Definition: vtkSMProxy.h:700
int vtkIdType
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 LoadState(const vtkSMMessage *msg, vtkSMProxyLocator *locator) override
This method is used to initialise the object to the given state If the definitionOnly Flag is set to ...
#define VTKREMOTINGMISC_EXPORT
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.
void MarkDirty(vtkSMProxy *modifiedProxy) override
Marks the selection proxies dirty as well as chain to superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
static vtkSMSourceProxy * New()