113 #ifndef vtkSMSessionProxyManager_h 114 #define vtkSMSessionProxyManager_h 116 #include "vtkRemotingServerManagerModule.h" 134 class vtkSMProxyManagerObserver;
135 class vtkSMProxyManagerProxySet;
162 static vtkTypeUInt32 GetReservedGlobalID();
174 const char* groupName,
const char* proxyName,
const char* subProxyName = NULL);
182 vtkSMDocumentation* GetProxyDocumentation(
const char* groupName,
const char* proxyName);
193 const char* groupName,
const char* proxyName,
const char* propertyName);
207 void RegisterProxy(
const char* groupname,
const char* name,
vtkSMProxy* proxy);
213 std::string RegisterProxy(
const char* groupname,
vtkSMProxy* proxy);
220 vtkSMProxy* GetProxy(
const char* groupname,
const char* name);
228 void GetProxies(
const char* groupname,
const char* name,
vtkCollection* collection);
231 this->GetProxies(groupname, NULL, collection);
242 vtkSMProxy* GetPrototypeProxy(
const char* groupname,
const char* name);
247 unsigned int GetNumberOfProxies(
const char* groupname);
253 const char* GetProxyName(
const char* groupname,
unsigned int idx);
261 const char* GetProxyName(
const char* groupname,
vtkSMProxy* proxy);
277 std::string GetUniqueProxyName(
278 const char* groupname,
const char* prefix,
bool alwaysAppend =
true);
285 const char* IsProxyInGroup(
vtkSMProxy* proxy,
const char* groupname);
292 void UnRegisterProxy(
const char* groupname,
const char* name,
vtkSMProxy*);
293 void UnRegisterProxy(
const char* name);
305 void UnRegisterProxies();
314 void UpdateRegisteredProxies(
const char* groupname,
int modified_only = 1);
315 void UpdateRegisteredProxies(
int modified_only = 1);
326 void UpdateRegisteredProxiesInOrder(
int modified_only = 1);
333 int GetNumberOfLinks();
338 const char* GetLinkName(
int index);
344 void RegisterLink(
const char* linkname,
vtkSMLink* link);
349 void UnRegisterLink(
const char* linkname);
355 vtkSMLink* GetRegisteredLink(
const char* linkname);
361 const char* GetRegisteredLinkName(
vtkSMLink* link);
366 void UnRegisterAllLinks();
376 void RegisterCustomProxyDefinition(
const char* group,
const char* name,
vtkPVXMLElement* top);
384 void UnRegisterCustomProxyDefinition(
const char* group,
const char* name);
392 void UnRegisterCustomProxyDefinitions();
397 vtkPVXMLElement* GetProxyDefinition(
const char* group,
const char* name);
403 void LoadCustomProxyDefinitions(
const char* filename);
428 vtkGetMacro(InLoadXMLState,
bool);
435 bool SaveXMLState(
const char* filename);
455 void InstantiateGroupPrototypes(
const char* groupName);
460 void InstantiatePrototypes();
465 void ClearPrototypes();
470 bool HasDefinition(
const char* groupName,
const char* proxyName);
476 int AreProxiesModified();
487 vtkPVXMLElement* GetProxyHints(
const char* xmlgroup,
const char* xmlname);
489 const char* groupName,
const char* proxyName,
const char* propertyName);
500 vtkGetMacro(UpdateInputProxies,
int);
506 bool LoadConfigurationXML(
const char* xmlcontents);
541 void UnRegisterSelectionModel(
const char* name);
549 void UpdateFromRemote();
558 bool IsStateUpdateNotificationEnabled();
559 void DisableStateUpdateNotification();
560 void EnableStateUpdateNotification();
561 void TriggerStateUpdate();
581 vtkSMProxy* FindProxy(
const char* reggroup,
const char* xmlgroup,
const char* xmltype);
595 friend class vtkSMProxyManagerObserver;
602 const char* subProxyName = NULL);
609 const char* groupName,
const char* proxyName,
const char* subProxyName = NULL);
614 virtual void ExecuteEvent(
vtkObject* obj,
unsigned long event,
void* data);
619 void RemovePrototype(
const char* groupname,
const char* proxyname);
640 void CollectReferredProxies(vtkSMProxyManagerProxySet& setOfProxies,
vtkSMProxy* proxy);
650 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
access proxies that define catalyst export state
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
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)