ParaView
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 "vtkPVClientServerCoreCoreModule.h" //needed for exports
28 
29 class VTKPVCLIENTSERVERCORECORE_EXPORT vtkSession : public vtkObject
30 {
31 public:
32  vtkTypeMacro(vtkSession, vtkObject);
33  void PrintSelf(ostream& os, vtkIndent indent);
34 
38  virtual bool GetIsAlive() = 0;
39 
40 protected:
41  vtkSession();
42  ~vtkSession();
43 
44  // Needed when TileDisplay are retreived
45  friend class vtkSMRenderViewProxy;
46  // Need to manually active the session
48 
54  virtual void Activate();
55 
61  virtual void DeActivate();
62 
63 private:
64  vtkSession(const vtkSession&) VTK_DELETE_FUNCTION;
65  void operator=(const vtkSession&) VTK_DELETE_FUNCTION;
66 };
67 
68 #endif
implementation for View that includes render window and renderers.
vtkSession defines a session i.e.
Definition: vtkSession.h:29
help class for server side animation saving at disconnection time.