vtkSMDeserializerProtobuf.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
12 #ifndef vtkSMDeserializerProtobuf_h
13 #define vtkSMDeserializerProtobuf_h
14 
15 #include "vtkRemotingServerManagerModule.h" //needed for exports
16 #include "vtkSMDeserializer.h"
17 
18 class vtkPVXMLElement;
19 class vtkSMProxy;
20 class vtkSMProxyLocator;
21 class vtkSMStateLocator;
22 
24 {
25 public:
28  void PrintSelf(ostream& os, vtkIndent indent) override;
29 
31 
34  vtkGetObjectMacro(StateLocator, vtkSMStateLocator);
35  virtual void SetStateLocator(vtkSMStateLocator*);
37 
38 protected:
40  ~vtkSMDeserializerProtobuf() override;
41 
42  // Friend to access NewProxy().
43  friend class vtkSMProxyLocator;
44 
49  vtkSMProxy* NewProxy(vtkTypeUInt32 id, vtkSMProxyLocator* locator) override;
50 
52 
53 private:
55  void operator=(const vtkSMDeserializerProtobuf&) = delete;
56 };
57 
58 #endif
void PrintSelf(ostream &os, vtkIndent indent) override
#define VTKREMOTINGSERVERMANAGER_EXPORT
deserializes proxies from their states.
deserializes proxies from their Protobuf states.
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:140
is used to locate proxies referred to in state xmls while loading state files.
virtual vtkSMProxy * NewProxy(vtkTypeUInt32 id, vtkSMProxyLocator *locator)=0
Create a new proxy with the id if possible.
This is used by vtkPVXMLParser to represent an XML document starting at the root element.
static vtkObject * New()
Class used to retrieve a given message state based on its GlobalID.