vtkSession.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkSession.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 vtkSession_h
24 #define vtkSession_h
25 
26 #include "vtkObject.h"
27 #include "vtkRemotingCoreModule.h" //needed for exports
28 
30 {
31 public:
32  vtkTypeMacro(vtkSession, vtkObject);
33  void PrintSelf(ostream& os, vtkIndent indent) override;
34 
38  virtual bool GetIsAlive() = 0;
39 
40 protected:
41  vtkSession();
42  ~vtkSession() override;
43 
44  // Needed when TileDisplay are retrieved
45  friend class vtkSMRenderViewProxy;
46 
52  virtual void Activate();
53 
59  virtual void DeActivate();
60 
61 private:
62  vtkSession(const vtkSession&) = delete;
63  void operator=(const vtkSession&) = delete;
64 };
65 
66 #endif
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
implementation for View that includes render window and renderers.
#define VTKREMOTINGCORE_EXPORT
vtkSession defines a session i.e.
Definition: vtkSession.h:29
void operator=(const vtkObjectBase &)