114 #ifndef vtkSMSessionProxyManager_h 115 #define vtkSMSessionProxyManager_h 117 #include "vtkPVServerManagerCoreModule.h" 122 class vtkEventForwarderCommand;
132 class vtkSMProxyManagerObserver;
133 class vtkSMProxyManagerProxySet;
154 void PrintSelf(ostream& os, vtkIndent indent);
160 static vtkTypeUInt32 GetReservedGlobalID();
172 const char* groupName,
const char* proxyName,
const char* subProxyName = NULL);
180 vtkSMDocumentation* GetProxyDocumentation(
const char* groupName,
const char* proxyName);
191 const char* groupName,
const char* proxyName,
const char* propertyName);
205 void RegisterProxy(
const char* groupname,
const char* name,
vtkSMProxy* proxy);
211 vtkStdString RegisterProxy(
const char* groupname,
vtkSMProxy* proxy);
218 vtkSMProxy* GetProxy(
const char* groupname,
const char* name);
226 void GetProxies(
const char* groupname,
const char* name, vtkCollection* collection);
227 void GetProxies(
const char* groupname, vtkCollection* collection)
229 this->GetProxies(groupname, NULL, collection);
236 vtkSMProxy* GetPrototypeProxy(
const char* groupname,
const char* name);
241 unsigned int GetNumberOfProxies(
const char* groupname);
247 const char* GetProxyName(
const char* groupname,
unsigned int idx);
255 const char* GetProxyName(
const char* groupname,
vtkSMProxy* proxy);
269 vtkStdString GetUniqueProxyName(
const char* groupname,
const char* prefix);
276 const char* IsProxyInGroup(
vtkSMProxy* proxy,
const char* groupname);
283 void UnRegisterProxy(
const char* groupname,
const char* name,
vtkSMProxy*);
284 void UnRegisterProxy(
const char* name);
296 void UnRegisterProxies();
305 void UpdateRegisteredProxies(
const char* groupname,
int modified_only = 1);
306 void UpdateRegisteredProxies(
int modified_only = 1);
317 void UpdateRegisteredProxiesInOrder(
int modified_only = 1);
324 int GetNumberOfLinks();
329 const char* GetLinkName(
int index);
335 void RegisterLink(
const char* linkname,
vtkSMLink* link);
340 void UnRegisterLink(
const char* linkname);
346 vtkSMLink* GetRegisteredLink(
const char* linkname);
352 const char* GetRegisteredLinkName(
vtkSMLink* link);
357 void UnRegisterAllLinks();
367 void RegisterCustomProxyDefinition(
const char* group,
const char* name,
vtkPVXMLElement* top);
375 void UnRegisterCustomProxyDefinition(
const char* group,
const char* name);
383 void UnRegisterCustomProxyDefinitions();
388 vtkPVXMLElement* GetProxyDefinition(
const char* group,
const char* name);
394 void LoadCustomProxyDefinitions(
const char* filename);
417 void SaveXMLState(
const char* filename);
432 void InstantiateGroupPrototypes(
const char* groupName);
437 void InstantiatePrototypes();
442 bool HasDefinition(
const char* groupName,
const char* proxyName);
448 int AreProxiesModified();
459 vtkPVXMLElement* GetProxyHints(
const char* xmlgroup,
const char* xmlname);
461 const char* groupName,
const char* proxyName,
const char* propertyName);
472 vtkGetMacro(UpdateInputProxies,
int);
478 bool LoadConfigurationXML(
const char* xmlcontents);
499 vtkIdType GetNumberOfSelectionModel();
513 void UnRegisterSelectionModel(
const char* name);
521 void UpdateFromRemote();
530 bool IsStateUpdateNotificationEnabled();
531 void DisableStateUpdateNotification();
532 void EnableStateUpdateNotification();
533 void TriggerStateUpdate();
553 vtkSMProxy* FindProxy(
const char* reggroup,
const char* xmlgroup,
const char* xmltype);
562 friend class vtkSMProxyManagerObserver;
569 const char* subProxyName = NULL);
576 const char* groupName,
const char* proxyName,
const char* subProxyName = NULL);
581 virtual void ExecuteEvent(vtkObject* obj,
unsigned long event,
void* data);
586 void RemovePrototype(
const char* groupname,
const char* proxyname);
612 void CollectReferredProxies(vtkSMProxyManagerProxySet& setOfProxies,
vtkSMProxy* proxy);
622 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
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
void PrintSelf(ostream &os, vtkIndent indent)
is used to locate proxies referred to in state xmls while loading state files.
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()
Class used to retreive a given message state based on its GlobalID.
iterates over all registered proxies (and groups)