113 #ifndef vtkSMSessionProxyManager_h 114 #define vtkSMSessionProxyManager_h 135 class vtkSMProxyManagerObserver;
136 class vtkSMProxyManagerProxySet;
163 static vtkTypeUInt32 GetReservedGlobalID();
175 const char* groupName,
const char* proxyName,
const char* subProxyName =
nullptr);
183 vtkSMDocumentation* GetProxyDocumentation(
const char* groupName,
const char* proxyName);
194 const char* groupName,
const char* proxyName,
const char* propertyName);
208 void RegisterProxy(
const char* groupname,
const char* name,
vtkSMProxy* proxy);
214 std::string RegisterProxy(
const char* groupname,
vtkSMProxy* proxy);
221 vtkSMProxy* GetProxy(
const char* groupname,
const char* name);
229 void GetProxies(
const char* groupname,
const char* name,
vtkCollection* collection);
232 this->GetProxies(groupname,
nullptr, collection);
243 vtkSMProxy* GetPrototypeProxy(
const char* groupname,
const char*
name);
248 unsigned int GetNumberOfProxies(
const char* groupname);
254 const char* GetProxyName(
const char* groupname,
unsigned int idx);
262 const char* GetProxyName(
const char* groupname,
vtkSMProxy* proxy);
278 std::string GetUniqueProxyName(
279 const char* groupname,
const char* prefix,
bool alwaysAppend =
true);
286 const char* IsProxyInGroup(
vtkSMProxy* proxy,
const char* groupname);
293 void UnRegisterProxy(
const char* groupname,
const char* name,
vtkSMProxy*);
294 void UnRegisterProxy(
const char* name);
306 void UnRegisterProxies();
315 void UpdateRegisteredProxies(
const char* groupname,
int modified_only = 1);
316 void UpdateRegisteredProxies(
int modified_only = 1);
327 void UpdateRegisteredProxiesInOrder(
int modified_only = 1);
334 int GetNumberOfLinks();
339 const char* GetLinkName(
int index);
345 void RegisterLink(
const char* linkname,
vtkSMLink* link);
350 void UnRegisterLink(
const char* linkname);
356 vtkSMLink* GetRegisteredLink(
const char* linkname);
362 const char* GetRegisteredLinkName(
vtkSMLink* link);
367 void UnRegisterAllLinks();
377 void RegisterCustomProxyDefinition(
const char* group,
const char* name,
vtkPVXMLElement*
top);
385 void UnRegisterCustomProxyDefinition(
const char* group,
const char* name);
393 void UnRegisterCustomProxyDefinitions();
398 vtkPVXMLElement* GetProxyDefinition(
const char* group,
const char* name);
404 void LoadCustomProxyDefinitions(
const char* filename);
420 void LoadXMLState(
const char* filename,
vtkSMStateLoader* loader =
nullptr);
429 vtkGetMacro(InLoadXMLState,
bool);
436 bool SaveXMLState(
const char* filename);
459 const std::set<vtkSMProxy*>& restrictionSet,
bool forceRestriction =
false);
472 void InstantiateGroupPrototypes(
const char* groupName);
477 void InstantiatePrototypes();
482 void ClearPrototypes();
487 bool HasDefinition(
const char* groupName,
const char* proxyName);
493 int AreProxiesModified();
504 vtkPVXMLElement* GetProxyHints(
const char* xmlgroup,
const char* xmlname);
506 const char* groupName,
const char* proxyName,
const char* propertyName);
517 vtkGetMacro(UpdateInputProxies,
int);
523 bool LoadConfigurationXML(
const char* xmlcontents);
558 void UnRegisterSelectionModel(
const char* name);
566 void UpdateFromRemote();
575 bool IsStateUpdateNotificationEnabled();
576 void DisableStateUpdateNotification();
577 void EnableStateUpdateNotification();
578 void TriggerStateUpdate();
598 vtkSMProxy* FindProxy(
const char* reggroup,
const char* xmlgroup,
const char* xmltype);
607 friend class vtkSMProxyManagerObserver;
614 const char* subProxyName =
nullptr);
621 const char* groupName,
const char* proxyName,
const char* subProxyName =
nullptr);
626 virtual void ExecuteEvent(
vtkObject* obj,
unsigned long event,
void* data);
631 void RemovePrototype(
const char* groupname,
const char* proxyname);
644 void CollectReferredProxies(vtkSMProxyManagerProxySet& setOfProxies,
vtkSMProxy* proxy);
654 vtkSMProxyManagerObserver* Observer;
superclass for any server manager classes that are related to a session
vtkSMProxyDefinitionManager * ProxyDefinitionManager
vtkSMProxyDefinitionManager is a remote-object that represents the vtkSIProxyDefinitionManager instan...
bool StateUpdateNotification
#define VTKREMOTINGSERVERMANAGER_EXPORT
vtkSMSession is the default ParaView session.
superclass for all SM properties
void GetProxies(const char *groupname, vtkCollection *collection)
vtkSMPipelineState * PipelineState
vtkEventForwarderCommand * Forwarder
Header class that setup every thing in order to use Protobuf messages in a transparent manner...
Abstract base class for proxy/property links.
class that manage the state of the processing pipeline
vtkSmartPointer< vtkPVXMLElement > GetXMLState()
Returns the XML state for the proxy manager.
iterates over all proxy definitions from which the vtkSMProxyManager can use to create new proxy...
The vtkSMSessionProxyManager is esponsible for creating and managing proxies for a given session...
a proxy excapsulation a pipeline of proxies.
proxy for a VTK object(s) on a server
is used to locate proxies referred to in state xmls while loading state files.
void PrintSelf(ostream &os, vtkIndent indent) override
class providing access to the documentation for a vtkSMProxy.
Utility class to load state from XML.
This is used by vtkPVXMLParser to represent an XML document starting at the root element.
Identifier for a ClientServer object.
static vtkSMSessionObject * New()
Manages allocation and freeing for a string list.
Class used to retrieve a given message state based on its GlobalID.
iterates over all registered proxies (and groups)