vtkSIVectorPropertyTemplate.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
9 #ifndef vtkSIVectorPropertyTemplate_h
10 #define vtkSIVectorPropertyTemplate_h
11 
12 #include "vtkRemotingServerManagerModule.h" //needed for exports
13 #include "vtkSIVectorProperty.h"
14 
15 template <class T, class force_idtype = int>
17 {
18 public:
20  void PrintSelf(ostream& os, vtkIndent indent) override;
21 
23 
35  vtkGetMacro(ArgumentIsArray, bool);
37 
38 protected:
40  ~vtkSIVectorPropertyTemplate() override;
41 
45  bool Push(vtkSMMessage*, int) override;
46 
50  bool Pull(vtkSMMessage*) override;
51 
55  bool ReadXMLAttributes(vtkSIProxy* proxyhelper, vtkPVXMLElement* element) override;
56 
60  bool Push(T* values, int number_of_elements);
61 
63 
64 private:
66  void operator=(const vtkSIVectorPropertyTemplate&) = delete;
67 };
68 
69 #endif
void PrintSelf(ostream &os, vtkIndent indent) override
#define VTKREMOTINGSERVERMANAGER_EXPORT
virtual bool Push(vtkSMMessage *, int)
Push a new state to the underneath implementation.
vtkSIProxy is the server-implementation for a vtkSMProxy that helps the vtkSMProxy with managing/upda...
Definition: vtkSIProxy.h:22
Header class that setup every thing in order to use Protobuf messages in a transparent manner...
bool ReadXMLAttributes(vtkSIProxy *proxyhelper, vtkPVXMLElement *element) override
Set the appropriate ivars from the xml element.
Abstract class for SIProperty that hold an array of values.
This is used by vtkPVXMLParser to represent an XML document starting at the root element.
virtual bool Pull(vtkSMMessage *)
Pull the current state of the underneath implementation.