vtkSessionIterator.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
10 #ifndef vtkSessionIterator_h
11 #define vtkSessionIterator_h
12 
13 #include "vtkObject.h"
14 #include "vtkRemotingCoreModule.h" //needed for exports
15 
16 class vtkSession;
17 
19 {
20 public:
21  static vtkSessionIterator* New();
22  vtkTypeMacro(vtkSessionIterator, vtkObject);
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  vtkSession* GetCurrentSession();
47 
51  vtkIdType GetCurrentSessionId();
52 
53 protected:
55  ~vtkSessionIterator() override;
56 
57  class vtkInternals;
58  vtkInternals* Internals;
59 
60 private:
61  vtkSessionIterator(const vtkSessionIterator&) = delete;
62  void operator=(const vtkSessionIterator&) = delete;
63 };
64 
65 #endif
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
int vtkIdType
vtkSessionIterator is used to iterate over sessions in the global ProcessModule.
#define VTKREMOTINGCORE_EXPORT
vtkInternals * Internals
vtkSession defines a session i.e.
Definition: vtkSession.h:17
static vtkObject * New()
void operator=(const vtkObjectBase &)