vtkPVSessionIterator.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
10 #ifndef vtkPVSessionIterator_h
11 #define vtkPVSessionIterator_h
12 
13 #include "vtkObject.h"
14 #include "vtkRemotingCoreModule.h" //needed for exports
15 
16 class vtkPVSession;
17 
19 {
20 public:
21  static vtkPVSessionIterator* New();
23  void PrintSelf(ostream& os, vtkIndent indent) override;
24 
28  virtual void InitTraversal();
29 
33  virtual void GoToNextItem();
34 
41  virtual bool IsDoneWithTraversal();
42 
46  vtkPVSession* GetCurrentSession();
47 
51  vtkIdType GetCurrentSessionId();
52 
53 protected:
55  ~vtkPVSessionIterator() override;
56 
57  class vtkInternals;
58  vtkInternals* Internals;
59 
60 private:
62  void operator=(const vtkPVSessionIterator&) = delete;
63 };
64 
65 #endif
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
int vtkIdType
vtkPVSession defines a session i.e.
Definition: vtkPVSession.h:25
#define VTKREMOTINGCORE_EXPORT
static vtkObject * New()
void operator=(const vtkObjectBase &)
vtkPVSessionIterator is used to iterate over sessions in the global ProcessModule.