vtkSMSessionObject.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
11 #ifndef vtkSMSessionObject_h
12 #define vtkSMSessionObject_h
13 
14 #include "vtkRemotingServerManagerModule.h" //needed for exports
15 #include "vtkSMObject.h"
16 #include <vtkWeakPointer.h> // Needed to keep track of the session
17 
18 class vtkSMSession;
20 
22 {
23 public:
24  static vtkSMSessionObject* New();
26  void PrintSelf(ostream& os, vtkIndent indent) override;
27 
29 
33  virtual void SetSession(vtkSMSession*);
34  virtual vtkSMSession* GetSession();
36 
40  virtual vtkSMSessionProxyManager* GetSessionProxyManager();
41 
42 protected:
44  ~vtkSMSessionObject() override;
45 
50 
66  {
67  vtkSMSessionObject* Parent;
68 
69  public:
72  };
73 
74 private:
75  vtkSMSessionObject(const vtkSMSessionObject&) = delete;
76  void operator=(const vtkSMSessionObject&) = delete;
77 };
78 
79 #endif
superclass for any server manager classes that are related to a session
#define VTKREMOTINGSERVERMANAGER_EXPORT
vtkSMSession is the default ParaView session.
Definition: vtkSMSession.h:22
vtkWeakPointer< vtkSMSession > Session
Identifies the session id to which this object is related.
superclass for most server manager classes
Definition: vtkSMObject.h:17
Helper class designed to call session->PrepareProgress() in constructor and session->CleanupPendingPr...
The vtkSMSessionProxyManager is esponsible for creating and managing proxies for a given session...
static vtkSMObject * New()
void PrintSelf(ostream &os, vtkIndent indent) override