vtkSIInputProperty.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkSIInputProperty.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 =========================================================================*/
23 #ifndef vtkSIInputProperty_h
24 #define vtkSIInputProperty_h
25 
26 #include "vtkRemotingServerManagerModule.h" //needed for exports
27 #include "vtkSIProxyProperty.h"
28 
30 {
31 public:
32  static vtkSIInputProperty* New();
34  void PrintSelf(ostream& os, vtkIndent indent) override;
35 
37 
41  vtkGetMacro(PortIndex, int);
43 
44 protected:
46  ~vtkSIInputProperty() override;
47 
51  bool Push(vtkSMMessage*, int) override;
52 
56  bool ReadXMLAttributes(vtkSIProxy* proxyhelper, vtkPVXMLElement* element) override;
57 
58  vtkSetMacro(PortIndex, int);
59  int PortIndex;
60 
61 private:
62  vtkSIInputProperty(const vtkSIInputProperty&) = delete;
63  void operator=(const vtkSIInputProperty&) = delete;
64 };
65 
66 #endif
ServerSide Property use to set vtkOutputPort as method parameter.
#define VTKREMOTINGSERVERMANAGER_EXPORT
ServerSide Property use to set Object array as method argument.
bool ReadXMLAttributes(vtkSIProxy *proxyhelper, vtkPVXMLElement *element) override
Parse the xml for the property.
vtkSIProxy is the server-implementation for a vtkSMProxy that helps the vtkSMProxy with managing/upda...
Definition: vtkSIProxy.h:34
Header class that setup every thing in order to use Protobuf messages in a transparent manner...
bool Push(vtkSMMessage *, int) override
Push a new state to the underneath implementation.
This is used by vtkPVXMLParser to represent an XML document starting at the root element.
void PrintSelf(ostream &os, vtkIndent indent) override
static vtkSIProxyProperty * New()