vtkSICollaborationManager.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkSICollaborationManager.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 =========================================================================*/
21 #ifndef vtkSICollaborationManager_h
22 #define vtkSICollaborationManager_h
23 
24 #include "vtkRemotingServerManagerModule.h" //needed for exports
25 #include "vtkSIObject.h"
26 #include "vtkSMMessageMinimal.h" // needed for vtkSMMessage
27 
29 {
30 public:
33  void PrintSelf(ostream& os, vtkIndent indent) override;
34 
40  void Push(vtkSMMessage* msg) override;
41 
47  void Pull(vtkSMMessage* msg) override;
48 
49 protected:
51  ~vtkSICollaborationManager() override;
52 
53  friend class vtkInternal;
54  void BroadcastToClients(vtkSMMessage* msg);
55 
56 private:
58  void operator=(const vtkSICollaborationManager&) = delete;
59 
60  class vtkInternal;
61  vtkInternal* Internal;
62 };
63 
64 #endif // #ifndef vtkSICollaborationManager_h
virtual void Push(vtkSMMessage *msg)
Push a new state to the underneath implementation The provided implementation just store the message ...
#define VTKREMOTINGSERVERMANAGER_EXPORT
static vtkSIObject * New()
Header class that setup every thing in order to use Protobuf messages in a transparent manner...
virtual void Pull(vtkSMMessage *msg)
Pull the current state of the underneath implementation The provided implementation update the given ...
Object that is managed by vtkPVSessionCore which wrap concrete class such as the vtk ones...
Definition: vtkSIObject.h:33
Object that managed multi-client communication and provide the group awareness.
void PrintSelf(ostream &os, vtkIndent indent) override