Go to the documentation of this file.
14 #ifndef vtkSMProxyLink_h
15 #define vtkSMProxyLink_h
17 #include "vtkRemotingServerManagerModule.h"
22 struct vtkSMProxyLinkInternals;
44 virtual void AddLinkedProxy(
vtkSMProxy* proxy,
int updateDir);
55 virtual void LinkProxyPropertyProxies(
vtkSMProxy* proxy1,
vtkSMProxy* proxy2,
const char* pname);
60 virtual void RemoveLinkedProxy(
vtkSMProxy* proxy);
67 unsigned int GetNumberOfLinkedProxies();
81 int GetLinkedProxyDirection(
int index);
94 void AddException(
const char* propertyname);
95 void RemoveException(
const char* propertyname);
96 void ClearExceptions();
121 vtkSetMacro(ExceptionBehavior,
int);
122 vtkGetMacro(ExceptionBehavior,
int);
181 bool isPropertyLinked(
const char* pname);
183 std::unique_ptr<vtkSMProxyLinkInternals> Internals;
184 int ExceptionBehavior = BLACKLIST;
void PrintSelf(ostream &os, vtkIndent indent) override
creates a link between two proxies.
virtual int LoadXMLState(vtkPVXMLElement *linkElement, vtkSMProxyLocator *locator)=0
Load the link state.
void SetExceptionBehaviorToWhitelist()
Set/Get exception behavior.
virtual void SaveXMLState(const char *linkname, vtkPVXMLElement *parent)=0
Save the state of the link.
proxy for a VTK object(s) on a server
void SetExceptionBehaviorToBlacklist()
Set/Get exception behavior.
Abstract base class for proxy/property links.
virtual std::string GetXMLTagName()
Get tag name to use in statefile.
virtual int GetLinkedObjectDirection(int index)=0
Get the direction of a object involved in this link (see vtkSMLink::UpdateDirections)
virtual vtkSMProxy * GetLinkedProxy(int index)=0
Get a proxy involved in this link.
virtual void PropertyModified(vtkSMProxy *proxy, const char *pname)=0
Called when a property of an input proxy is modified.
virtual unsigned int GetNumberOfLinkedObjects()=0
Get the number of object that are involved in this link.
static vtkSMSessionObject * New()
virtual void UpdateVTKObjects(vtkSMProxy *proxy)=0
Called when an input proxy is updated (UpdateVTKObjects).
virtual void RemoveAllLinks()=0
Remove all links.
is used to locate proxies referred to in state xmls while loading state files.
virtual void UpdateProperty(vtkSMProxy *caller, const char *pname)=0
Called when a property is pushed.
virtual void UpdateState()=0
Update the internal protobuf state.
void LoadState(const vtkSMMessage *msg, vtkSMProxyLocator *locator) override
This method is used to initialize the object to the given state If the definitionOnly Flag is set to ...