vtkSMPipelineState.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkSMPipelineState.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 =========================================================================*/
26 #ifndef vtkSMPipelineState_h
27 #define vtkSMPipelineState_h
28 
29 #include "vtkRemotingServerManagerModule.h" //needed for exports
30 #include "vtkSMMessageMinimal.h" // needed for vtkSMMessage
31 #include "vtkSMRemoteObject.h"
32 #include "vtkWeakPointer.h" // needed for vtkWeakPointer
33 
34 class vtkSMSession;
35 class vtkSMProxyLocator;
36 
38 {
39  // My friends are...
41 
42 public:
43  static vtkSMPipelineState* New();
45  void PrintSelf(ostream& os, vtkIndent indent) override;
46 
53  const vtkSMMessage* GetFullState() override;
54 
58  void LoadState(const vtkSMMessage* msg, vtkSMProxyLocator* locator) override;
59 
60  void ValidateState();
61 
62 protected:
67 
71  ~vtkSMPipelineState() override;
72 
73 private:
74  vtkSMPipelineState(const vtkSMPipelineState&) = delete;
75  void operator=(const vtkSMPipelineState&) = delete;
76 };
77 
78 #endif // #ifndef vtkSMPipelineState_h
virtual void LoadState(const vtkSMMessage *msg, vtkSMProxyLocator *locator)
This method is used to initialise the object to the given state If the definitionOnly Flag is set to ...
#define VTKREMOTINGSERVERMANAGER_EXPORT
vtkSMSession is the default ParaView session.
Definition: vtkSMSession.h:35
Header class that setup every thing in order to use Protobuf messages in a transparent manner...
class that manage the state of the processing pipeline
The vtkSMSessionProxyManager is esponsible for creating and managing proxies for a given session...
virtual const vtkSMMessage * GetFullState()
This method return the full object state that can be used to create that object from scratch...
is used to locate proxies referred to in state xmls while loading state files.
baseclass for all proxy-objects that have counter parts on server as well as client processes...
static vtkSMSessionObject * New()
void PrintSelf(ostream &os, vtkIndent indent) override