14 #ifndef vtkSMProxyLink_h 15 #define vtkSMProxyLink_h 23 struct vtkSMProxyLinkInternals;
45 virtual void AddLinkedProxy(
vtkSMProxy* proxy,
int updateDir);
56 virtual void LinkProxyPropertyProxies(
vtkSMProxy* proxy1,
vtkSMProxy* proxy2,
const char* pname);
61 virtual void RemoveLinkedProxy(
vtkSMProxy* proxy);
69 "GetNumerOfLinkedProxies is deprectated, please use GetNumberOfLinkedObjects instead.")
70 unsigned
int GetNumberOfLinkedProxies();
76 vtkSMProxy* GetLinkedProxy(
int index) override;
83 int GetLinkedObjectDirection(
int index) override;
84 int GetLinkedProxyDirection(
int index);
97 void AddException(
const char* propertyname);
98 void RemoveException(
const char* propertyname);
99 void ClearExceptions();
105 void RemoveAllLinks() override;
124 vtkSetMacro(ExceptionBehavior,
int);
125 vtkGetMacro(ExceptionBehavior,
int);
126 void SetExceptionBehaviorToBlacklist() { this->SetExceptionBehavior(BLACKLIST); }
184 bool isPropertyLinked(
const char* pname);
186 std::unique_ptr<vtkSMProxyLinkInternals> Internals;
187 int ExceptionBehavior = BLACKLIST;
virtual int LoadXMLState(vtkPVXMLElement *linkElement, vtkSMProxyLocator *locator)=0
Load the link state.
virtual std::string GetXMLTagName()
Get tag name to use in statefile.
#define VTKREMOTINGSERVERMANAGER_EXPORT
virtual void UpdateState()=0
Update the internal protobuf state.
creates a link between two proxies.
virtual void SaveXMLState(const char *linkname, vtkPVXMLElement *parent)=0
Save the state of the link.
virtual void PropertyModified(vtkSMProxy *proxy, const char *pname)=0
Called when a property of an input proxy is modified.
Header class that setup every thing in order to use Protobuf messages in a transparent manner...
void SetExceptionBehaviorToWhitelist()
Set/Get exception behavior.
Abstract base class for proxy/property links.
virtual unsigned int GetNumberOfLinkedObjects()=0
Get the number of object that are involved in this link.
#define PARAVIEW_DEPRECATED_IN_6_1_0(reason)
virtual void UpdateVTKObjects(vtkSMProxy *proxy)=0
Called when an input proxy is updated (UpdateVTKObjects).
proxy for a VTK object(s) on a server
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.
This is used by vtkPVXMLParser to represent an XML document starting at the root element.
static vtkSMSessionObject * New()
void PrintSelf(ostream &os, vtkIndent indent) override