vtkPVCatalystSessionCore.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPVCatalystSessionCore.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 =========================================================================*/
24 #ifndef vtkPVCatalystSessionCore_h
25 #define vtkPVCatalystSessionCore_h
26 
27 #include "vtkPVSessionCore.h"
28 #include "vtkRemotingServerManagerModule.h" //needed for exports
29 #include "vtkSMMessageMinimal.h" // needed for vtkSMMessage.
30 #include "vtkWeakPointer.h" // needed for vtkMultiProcessController
31 
32 class vtkPVInformation;
33 
35 {
36 public:
37  static vtkPVCatalystSessionCore* New();
39  void PrintSelf(ostream& os, vtkIndent indent) override;
40 
45  bool GatherInformation(
46  vtkTypeUInt32 location, vtkPVInformation* information, vtkTypeUInt32 globalid) override;
47 
53  vtkTypeUInt32 RegisterDataInformation(
54  vtkTypeUInt32 globalid, unsigned int port, vtkPVInformation* information);
55 
56  void UpdateIdMap(vtkTypeUInt32* idMapArray, int size);
57  void ResetIdMap();
58 
59 protected:
61  ~vtkPVCatalystSessionCore() override;
62 
63 private:
65  void operator=(const vtkPVCatalystSessionCore&) = delete;
66 
67  class vtkInternal;
68  vtkInternal* CatalystInternal;
69 };
70 
71 #endif
virtual bool GatherInformation(vtkTypeUInt32 location, vtkPVInformation *information, vtkTypeUInt32 globalid)
Gather information about an object referred by the globalid.
vtkPVCatalystSessionCore is used by vtkSMSession.
#define VTKREMOTINGSERVERMANAGER_EXPORT
vtkPVSessionCore is used by vtkSMSession.
void PrintSelf(ostream &os, vtkIndent indent) override
static vtkPVSessionCore * New()
Superclass for information objects.