ParaView
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 "vtkPVServerManagerCoreModule.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 
37 class VTKPVSERVERMANAGERCORE_EXPORT vtkSMPipelineState : public vtkSMRemoteObject
38 {
39  // My friends are...
41 
42 public:
43  static vtkSMPipelineState* New();
45  void PrintSelf(ostream& os, vtkIndent indent);
46 
53  virtual const vtkSMMessage* GetFullState();
54 
58  virtual void LoadState(const vtkSMMessage* msg, vtkSMProxyLocator* locator);
59 
60  void ValidateState();
61 
62 protected:
67 
71  virtual ~vtkSMPipelineState();
72 
73 private:
74  vtkSMPipelineState(const vtkSMPipelineState&) VTK_DELETE_FUNCTION;
75  void operator=(const vtkSMPipelineState&) VTK_DELETE_FUNCTION;
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 ...
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.
void PrintSelf(ostream &os, vtkIndent indent)
baseclass for all proxy-objects that have counter parts on server as well as client processes...
static vtkSMSessionObject * New()