vtkSMDeserializerXMLCache.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
11 #ifndef vtkSMDeserializerXMLCache_h
12 #define vtkSMDeserializerXMLCache_h
13 
14 #include "vtkRemotingServerManagerModule.h" //needed for exports
15 #include "vtkSMDeserializerXML.h"
16 
17 class vtkPVXMLElement;
18 class vtkSMProxy;
19 class vtkSMProxyLocator;
20 class vtkSMSession;
21 
22 class VTKREMOTINGSERVERMANAGER_EXPORT vtkSMDeserializerXMLCache : public vtkSMDeserializerXML
23 {
24 public:
27  void PrintSelf(ostream& os, vtkIndent indent) override;
28 
32  virtual void CacheXMLProxyState(vtkTypeUInt32 id, vtkPVXMLElement* xml);
33 
34 protected:
36  ~vtkSMDeserializerXMLCache() override;
37 
38  // Friend to access NewProxy().
39  friend class vtkSMProxyLocator;
40 
44  vtkPVXMLElement* LocateProxyElement(vtkTypeUInt32 id) override;
45 
46 private:
48  void operator=(const vtkSMDeserializerXMLCache&) = delete;
49 
50  class vtkInternal;
51  vtkInternal* Internals;
52 };
53 
54 #endif
vtkSMDeserializerXML
deserializes proxies from their XML states.
Definition: vtkSMDeserializerXML.h:22
vtkSMDeserializerXML.h
vtkSMDeserializerXML::LocateProxyElement
virtual vtkPVXMLElement * LocateProxyElement(vtkTypeUInt32 id)
Locate the XML for the proxy with the given id.
vtkSMProxy
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:140
vtkSMDeserializerXML::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
vtkSMSession
Definition: vtkSMSession.h:22
vtkSMDeserializerXML::New
static vtkSMDeserializerXML * New()
vtkIndent
vtkSMDeserializerXMLCache
deserializes proxies from their XML states.
Definition: vtkSMDeserializerXMLCache.h:22
vtkPVXMLElement
Definition: vtkPVXMLElement.h:23
vtkSMProxyLocator
is used to locate proxies referred to in state xmls while loading state files.
Definition: vtkSMProxyLocator.h:24